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