From 27db056f88c3ae6adbcc918b21ede21a6d66f274 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Sun, 29 Oct 2023 23:21:26 +0600 Subject: [PATCH] Fix migration (#3904) Signed-off-by: Denis Bykhov --- models/view/src/migration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/view/src/migration.ts b/models/view/src/migration.ts index 3086b035ea..75bda9c854 100644 --- a/models/view/src/migration.ts +++ b/models/view/src/migration.ts @@ -46,7 +46,7 @@ async function removeDoneStateFilter (client: MigrationClient): Promise { for (const filter of filters) { let changed = false const options = filter.viewOptions - if (options !== undefined) { + if (options != null) { if (options.orderBy[0] === 'doneState') { options.orderBy[0] = 'status' changed = true