|
@ -56,12 +56,7 @@ export class AdminPlatformComponent implements OnInit, OnDestroy { |
|
|
this.route.queryParams |
|
|
this.route.queryParams |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((params) => { |
|
|
.subscribe((params) => { |
|
|
if (params['platformId'] && params['platformDetailDialog']) { |
|
|
if (params['createDialog'] && this.hasPermissionToCreatePlatform) { |
|
|
// this.openAccountDetailDialog(params['accountId']);
|
|
|
|
|
|
} else if ( |
|
|
|
|
|
params['createDialog'] && |
|
|
|
|
|
this.hasPermissionToCreatePlatform |
|
|
|
|
|
) { |
|
|
|
|
|
this.openCreatePlatformDialog(); |
|
|
this.openCreatePlatformDialog(); |
|
|
} else if (params['editDialog']) { |
|
|
} else if (params['editDialog']) { |
|
|
if (this.platforms) { |
|
|
if (this.platforms) { |
|
|