From aaf65f61b9e5da52bb28613e5fbc422b3631100f Mon Sep 17 00:00:00 2001 From: Xaviju Date: Mon, 2 Oct 2023 09:30:39 +0200 Subject: [PATCH] feat(workflows): ui review II --- .../project-feature-new-workflow.component.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/javascript/apps/taiga/src/app/modules/project/feature-new-workflow/project-feature-new-workflow.component.ts b/javascript/apps/taiga/src/app/modules/project/feature-new-workflow/project-feature-new-workflow.component.ts index 98f672a24..e95324850 100644 --- a/javascript/apps/taiga/src/app/modules/project/feature-new-workflow/project-feature-new-workflow.component.ts +++ b/javascript/apps/taiga/src/app/modules/project/feature-new-workflow/project-feature-new-workflow.component.ts @@ -12,7 +12,6 @@ import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy'; import { Actions, ofType } from '@ngrx/effects'; import { Store } from '@ngrx/store'; import { RxState } from '@rx-angular/state'; -import { TuiNotification } from '@taiga-ui/core'; import { Membership, Project, Workflow } from '@taiga/data'; import { AppService } from '~/app/services/app.service'; import { WsService } from '~/app/services/ws'; @@ -92,14 +91,6 @@ export class ProjectFeatureNewWorkflowComponent { } public userLoseAdminRole() { - this.appService.toastNotification({ - message: 'errors.admin_permission', - paramsMessage: { - project: this.state.get('project').name, - }, - status: TuiNotification.Warning, - closeOnNavigation: false, - }); void this.router.navigate([ `/project/${this.state.get('project').id}/${ this.state.get('project').slug