diff --git a/internal_packages/category-picker/lib/category-picker.cjsx b/internal_packages/category-picker/lib/category-picker.cjsx index ef20cac84..a68775318 100644 --- a/internal_packages/category-picker/lib/category-picker.cjsx +++ b/internal_packages/category-picker/lib/category-picker.cjsx @@ -315,13 +315,13 @@ class CategoryPicker extends React.Component currentCategoryIds = _.pluck(currentCategories, 'id') if @_account?.usesLabels() - hiddenCategories = ["all", "drafts", "sent", "archive", "starred", "important"] + hiddenCategories = ["all", "drafts", "sent", "archive", "starred", "important", "N1-Snoozed"] hiddenCategories.push("inbox") if allInInbox return false if category.divider else if @_account?.usesFolders() - hiddenCategories = ["drafts", "sent"] + hiddenCategories = ["drafts", "sent", "N1-Snoozed"] - return (category.name not in hiddenCategories) and not (category.id in currentCategoryIds) + return (category.name not in hiddenCategories) and (category.displayName not in hiddenCategories) and (category.id not in currentCategoryIds) _allInInbox: (usageCount, numThreads) -> return unless @_account?