[SM-462] add route to View Project option (#4682)
This commit is contained in:
parent
807a135418
commit
dfd3c6aa8f
|
@ -70,10 +70,10 @@
|
|||
<i class="bwi bwi-fw bwi-pencil tw-text-xl" aria-hidden="true"></i>
|
||||
{{ "editProject" | i18n }}
|
||||
</button>
|
||||
<button type="button" bitMenuItem (click)="viewProjectEvent.emit(project.id)">
|
||||
<a bitMenuItem [routerLink]="project.id">
|
||||
<i class="bwi bwi-fw bwi-eye tw-text-xl" aria-hidden="true"></i>
|
||||
{{ "viewProject" | i18n }}
|
||||
</button>
|
||||
</a>
|
||||
<button type="button" bitMenuItem (click)="deleteProject(project.id)">
|
||||
<i class="bwi bwi-fw bwi-trash tw-text-xl tw-text-danger" aria-hidden="true"></i>
|
||||
<span class="tw-text-danger">{{ "deleteProject" | i18n }}</span>
|
||||
|
|
|
@ -25,7 +25,6 @@ export class ProjectsListComponent implements OnDestroy {
|
|||
private _projects: ProjectListView[];
|
||||
|
||||
@Output() editProjectEvent = new EventEmitter<string>();
|
||||
@Output() viewProjectEvent = new EventEmitter<string>();
|
||||
@Output() deleteProjectEvent = new EventEmitter<ProjectListView[]>();
|
||||
@Output() onProjectCheckedEvent = new EventEmitter<string[]>();
|
||||
@Output() newProjectEvent = new EventEmitter();
|
||||
|
|
Loading…
Reference in New Issue