mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-10 22:54:45 +08:00
fix(categories): Fix Sentry #11613
This commit is contained in:
parent
4641fc4938
commit
ed0562fe2c
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ class CategoryStore extends NylasStore
|
|||
getArchiveCategory: (accountOrId) ->
|
||||
return null unless accountOrId
|
||||
account = asAccount(accountOrId)
|
||||
return null unless account
|
||||
|
||||
if account.usesFolders()
|
||||
return @getStandardCategory(account.id, "archive")
|
||||
|
|
Loading…
Add table
Reference in a new issue