fix: Add isIconStatic prop item to allow the icons to be always rendered statically ignoring hover behaviour (#4676)

Fix #4653

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Basant Besra
2024-04-04 17:35:56 +05:30
committed by GitHub
parent 85caed3463
commit 9d2bb33646
3 changed files with 7 additions and 2 deletions

View File

@ -74,6 +74,7 @@ export const ViewPickerListContent = () => {
Icon: IconLock,
},
].filter(isDefined)}
isIconDisplayedOnHoverOnly={view.key !== 'INDEX'}
onClick={() => handleViewSelect(view.id)}
LeftIcon={getIcon(view.icon)}
text={view.name}