Skip to content

Commit

Permalink
feat(workflows): ui review II
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaviju committed Oct 2, 2023
1 parent f38a6ab commit c5ecad0
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5ecad0

Please sign in to comment.