Skip to content

Commit

Permalink
fix(save-bar): display info message only in update mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanmaisse committed Nov 16, 2021
1 parent d53c4b1 commit 8ebaa92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<div *ngIf="isOpen()" [@slideUpDown] [@.disabled]="creationMode" class="save-bar" [class.save-bar-sticky]="!creationMode">
<mat-card class="save-bar__content" [class.mat-elevation-z3]="creationMode" [class.mat-elevation-z6]="!creationMode">
<div class="save-bar__content__label">Please note you have unsaved modifications.</div>
<div class="save-bar__content__label">{{ creationMode ? '' : 'Please note you have unsaved modifications.' }}</div>
<div>
<button *ngIf="!creationMode" class="save-bar__content__reset-button" mat-stroked-button type="button" (click)="onResetClicked()">
Reset
Expand Down

0 comments on commit 8ebaa92

Please sign in to comment.