Skip to content
Snippets Groups Projects
Commit bfea1173 authored by rhenck's avatar rhenck
Browse files

[editor] Fix likert column image removal to act on save and not before

parent e99fe90a
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ import { FileService } from '../../../../../common/file.service'; ...@@ -13,7 +13,7 @@ import { FileService } from '../../../../../common/file.service';
</mat-form-field> </mat-form-field>
<input #imageUpload type="file" hidden (click)="loadImage()"> <input #imageUpload type="file" hidden (click)="loadImage()">
<button mat-raised-button (click)="imageUpload.click()">{{ 'loadImage' | translate }}</button> <button mat-raised-button (click)="imageUpload.click()">{{ 'loadImage' | translate }}</button>
<button mat-raised-button (click)="data.column.imgSrc = null">{{ 'removeImage' | translate }}</button> <button mat-raised-button (click)="imgSrc = null">{{ 'removeImage' | translate }}</button>
<img [src]="imgSrc" <img [src]="imgSrc"
[style.object-fit]="'scale-down'" [style.object-fit]="'scale-down'"
[width]="200"> [width]="200">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment