Fix web camera input widget
This commit is contained in:
parent
2bc2624a60
commit
d646ff5b41
@ -20,7 +20,7 @@
|
|||||||
<div [fxShow]="!isShowCamera" fxLayout="column" fxLayoutAlign="space-between center" fxFlexFill>
|
<div [fxShow]="!isShowCamera" fxLayout="column" fxLayoutAlign="space-between center" fxFlexFill>
|
||||||
<div class="tb-web-camera__last-photo" fxFlex>
|
<div class="tb-web-camera__last-photo" fxFlex>
|
||||||
<span [fxShow]="!lastPhoto" class="tb-web-camera__last-photo_text" translate>widgets.input-widgets.no-image</span>
|
<span [fxShow]="!lastPhoto" class="tb-web-camera__last-photo_text" translate>widgets.input-widgets.no-image</span>
|
||||||
<img [fxShow]="lastPhoto" class="tb-web-camera__last-photo_img" [src]="safeLastPhoto" alt="last photo"/>
|
<img [fxShow]="lastPhoto" class="tb-web-camera__last-photo_img" [src]="lastPhoto" alt="last photo"/>
|
||||||
</div>
|
</div>
|
||||||
<button mat-raised-button color="primary" (click)="takePhoto()">
|
<button mat-raised-button color="primary" (click)="takePhoto()">
|
||||||
{{ "widgets.input-widgets.take-photo" | translate }}
|
{{ "widgets.input-widgets.take-photo" | translate }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user