Newer
Older
<h1 mat-dialog-title>{{'manageStateVariables' | translate}}</h1>
<div mat-dialog-content class="fx-column-start-stretch fx-gap-20">
<div *ngFor="let stateVariable of stateVariables; let i = index"
class="fx-row-start-stretch fx-gap-10">
<aspect-state-variable-editor
[(stateVariable)]="stateVariables[i]">
</aspect-state-variable-editor>
<button mat-icon-button
matSuffix
color="warn"
(click)="deleteStateVariable(i)">
<mat-icon>delete</mat-icon>
</button>
</div>
<button mat-button
class="add-button"
(click)="addStateVariable()">
<mat-icon class="add-icon">add</mat-icon>
</div>
<div mat-dialog-actions>
<button mat-button
[mat-dialog-close]="stateVariables">
{{'save' | translate }}
<button mat-button
mat-dialog-close>
{{'cancel' | translate }}
</button>