Skip to content

Commit

Permalink
[Workspace] feat: optimize recent items and filter out items whose wo…
Browse files Browse the repository at this point in the history
…rkspace is deleted (opensearch-project#8900)

* feat: optimize recent items and filter out items whose workspace is deleted

Signed-off-by: tygao <[email protected]>

* Changeset file for PR opensearch-project#8900 created/updated

* seperate link

Signed-off-by: tygao <[email protected]>

* update filter sequence

Signed-off-by: tygao <[email protected]>

---------

Signed-off-by: tygao <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and Qxisylolo committed Dec 23, 2024
1 parent 5efeda8 commit 1f2261c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/public/chrome/ui/header/recent_items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,17 @@ export const RecentItems = ({
onClick={() => {
setIsPreferencesPopoverOpen((IsPreferencesPopoverOpe) => !IsPreferencesPopoverOpe);
}}
<<<<<<< HEAD
iconType="managementApp"
data-test-subj="preferencesSettingButton"
/>
=======
>
{i18n.translate('core.header.recent.preferences', {
defaultMessage: 'Preferences',
})}
</EuiButtonEmpty>
>>>>>>> c24d5bc842 ([Workspace] feat: optimize recent items and filter out items whose workspace is deleted (#8900))
}
isOpen={isPreferencesPopoverOpen}
anchorPosition="downLeft"
Expand Down

0 comments on commit 1f2261c

Please sign in to comment.