feat: untagged notes smart view
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
||||
EyeIcon,
|
||||
EyeOffIcon,
|
||||
HashtagIcon,
|
||||
HashtagOffIcon,
|
||||
HelpIcon,
|
||||
HistoryIcon,
|
||||
InfoIcon,
|
||||
@@ -85,6 +86,7 @@ const ICONS = {
|
||||
'chevron-right': ChevronRightIcon,
|
||||
'cloud-off': CloudOffIcon,
|
||||
'eye-off': EyeOffIcon,
|
||||
'hashtag-off': HashtagOffIcon,
|
||||
'link-off': LinkOffIcon,
|
||||
'list-bulleted': ListBulleted,
|
||||
'lock-filled': LockFilledIcon,
|
||||
@@ -92,8 +94,8 @@ const ICONS = {
|
||||
'menu-arrow-down': MenuArrowDownIcon,
|
||||
'menu-arrow-right': MenuArrowRight,
|
||||
'menu-close': MenuCloseIcon,
|
||||
'pencil-off': PencilOffIcon,
|
||||
'pencil-filled': PencilFilledIcon,
|
||||
'pencil-off': PencilOffIcon,
|
||||
'pin-filled': PinFilledIcon,
|
||||
'plain-text': PlainTextIcon,
|
||||
'premium-feature': PremiumFeatureIcon,
|
||||
|
||||
@@ -31,6 +31,10 @@ const smartViewIconType = (view: SmartView): IconType => {
|
||||
if (view.uuid === SystemViewId.TrashedNotes) {
|
||||
return 'trash';
|
||||
}
|
||||
if (view.uuid === SystemViewId.UntaggedNotes) {
|
||||
return 'hashtag-off';
|
||||
}
|
||||
|
||||
return 'hashtag';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user