Moved list of macros to the new component
This commit is contained in:
14
src/components/macro/edit/macro-edit.component.html
Normal file
14
src/components/macro/edit/macro-edit.component.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<template [ngIf]="macro">
|
||||
<macro-header [macro]="macro"></macro-header>
|
||||
<macro-list
|
||||
[macro]="macro"
|
||||
(add)="addAction($event.macroId, $event.action)"
|
||||
(edit)="editAction($event.macroId, $event.index, $event.action)"
|
||||
(delete)="deleteAction($event.macroId, $event.index, $event.action)"
|
||||
(reorder)="reorderAction($event.macroId, $event.oldIndex, $event.newIndex)"
|
||||
></macro-list>
|
||||
</template>
|
||||
|
||||
<div *ngIf="!macro" class="not-found">
|
||||
Sorry, there is no macro with this id.
|
||||
</div>
|
||||
Reference in New Issue
Block a user