mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-30 07:17:35 +00:00
Fix migration (#3904)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
28ee0e8f62
commit
27db056f88
@ -46,7 +46,7 @@ async function removeDoneStateFilter (client: MigrationClient): Promise<void> {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user