chore: remove const and spread contents directly
continuous-integration/drone/pr Build was killed
Details
continuous-integration/drone/pr Build was killed
Details
This commit is contained in:
parent
6442e86362
commit
a3f7e1a850
|
@ -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 = {
|
||||
|
|
Reference in New Issue