Browse Source

Removed condition not used

pull/1922/head
Fabio Azevedo (CTW) 2 years ago
parent
commit
29673fe25d
  1. 7
      apps/client/src/app/components/platform/platform.component.ts

7
apps/client/src/app/components/platform/platform.component.ts

@ -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) {

Loading…
Cancel
Save