Browse Source
Merge pull request #12089 from vvlladd28/bug/mobile-bundle/close-dialog
Fixed close mobile bundle dialog without add/edit
pull/12091/head
Andrew Shvayka
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
14 additions and
12 deletions
-
ui-ngx/src/app/modules/home/pages/mobile/bundes/mobile-bundle-table-config.resolve.ts
|
|
@ -146,18 +146,20 @@ export class MobileBundleTableConfigResolver { |
|
|
} |
|
|
} |
|
|
}).afterClosed() |
|
|
}).afterClosed() |
|
|
.subscribe((res) => { |
|
|
.subscribe((res) => { |
|
|
if (res && !isAdd) { |
|
|
if (res) { |
|
|
this.config.updateData(); |
|
|
if (!isAdd) { |
|
|
} else { |
|
|
this.config.updateData(); |
|
|
this.store.pipe(select(selectUserSettingsProperty('notDisplayConfigurationAfterAddMobileBundle'))).pipe( |
|
|
} else { |
|
|
take(1) |
|
|
this.store.pipe(select(selectUserSettingsProperty('notDisplayConfigurationAfterAddMobileBundle'))).pipe( |
|
|
).subscribe((settings: boolean) => { |
|
|
take(1) |
|
|
if (!settings) { |
|
|
).subscribe((settings: boolean) => { |
|
|
this.configurationApp(null, res, true); |
|
|
if (!settings) { |
|
|
} else { |
|
|
this.configurationApp(null, res, true); |
|
|
this.config.updateData(); |
|
|
} else { |
|
|
} |
|
|
this.config.updateData(); |
|
|
}); |
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|