Skip to content

Commit

Permalink
feat: Update wizard picker zerostate and export plural logo (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks authored Apr 3, 2023
1 parent ab31cdb commit 0999980
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/wizard/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function PickerUnstyled({ items, ...props }: PickerProps): JSX.Element {
))}
</div>
)}
{filtered.length === 0 && (
{filtered.length === 0 && search?.length > 0 && (
<div className="empty">
<span className="empty-message">
No applications found for "{search}".
Expand All @@ -157,6 +157,13 @@ function PickerUnstyled({ items, ...props }: PickerProps): JSX.Element {
</Button>
</div>
)}
{filtered.length === 0 && !search && (
<div className="empty">
<span className="empty-message">
No applications available to install.
</span>
</div>
)}
</div>
)
}
Expand Down
3 changes: 3 additions & 0 deletions src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,6 @@ export { default as WebhooksIcon } from './components/icons/WebhooksIcon'
export { default as WindowsLogoIcon } from './components/icons/WindowsLogoIcon'
export { default as WorkspaceIcon } from './components/icons/WorkspaceIcon'
export { default as InfoOutlineIcon } from './components/icons/InfoOutlineIcon'
export { default as PluralLogoFull } from './components/icons/logo/PluralLogoFull'
export { default as PluralLogoMark } from './components/icons/logo/PluralLogoMark'
export { default as PluralLogoWord } from './components/icons/logo/PluralLogoWord'

0 comments on commit 0999980

Please sign in to comment.