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

[editor] Fix setting image position in LabelEditDialog

parent 0c134f6f
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ import { FileService } from 'common/services/file.service'; ...@@ -16,7 +16,7 @@ import { FileService } from 'common/services/file.service';
<button mat-raised-button (click)="newLabel.imgSrc = null">{{ 'removeImage' | translate }}</button> <button mat-raised-button (click)="newLabel.imgSrc = null">{{ 'removeImage' | translate }}</button>
<mat-form-field> <mat-form-field>
<mat-label>{{'imagePosition' | translate }}</mat-label> <mat-label>{{'imagePosition' | translate }}</mat-label>
<mat-select [value]="newLabel.imgPosition" <mat-select [(ngModel)]="newLabel.imgPosition"
[disabled]="newLabel.imgSrc == null"> [disabled]="newLabel.imgSrc == null">
<mat-option *ngFor="let option of ['above', 'below', 'left', 'right']" <mat-option *ngFor="let option of ['above', 'below', 'left', 'right']"
[value]="option"> [value]="option">
......
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