mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(category-picker): Hide starred label
This commit is contained in:
parent
af677e3b43
commit
c0596ef8e4
|
@ -74,7 +74,7 @@ export default class CategoryPickerPopover extends Component {
|
||||||
|
|
||||||
if (account) {
|
if (account) {
|
||||||
if (account.usesLabels()) {
|
if (account.usesLabels()) {
|
||||||
hiddenCategories = Category.StandardCategoryNames.concat(["N1-Snoozed"])
|
hiddenCategories = Category.StandardCategoryNames.concat(["starred", "N1-Snoozed"])
|
||||||
if (allInInbox) {
|
if (allInInbox) {
|
||||||
hiddenCategories.push("inbox")
|
hiddenCategories.push("inbox")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue