chore: remove const and spread contents directly
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
kolaente 2022-01-29 21:58:48 +01:00
parent 6442e86362
commit a3f7e1a850
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 2 deletions

View File

@ -248,10 +248,9 @@ export default {
// To work around this, we merge the active lists with the archived ones. Doing so breaks the order
// because now all archived lists are sorted after the active ones. This is fine because they are sorted
// later when showing them anyway, and it makes the merging happening here a lot easier.
const archivedFromNamespace = namespace.lists.filter(l => l.isArchived)
const lists = [
...activeLists,
...archivedFromNamespace,
...namespace.lists.filter(l => l.isArchived),
]
const newNamespace = {