mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
#1400 dont show scan article button for desktop
This commit is contained in:
@@ -202,7 +202,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn-outline" [disabled]="addItemsToCartDisabled || loading" (click)="scanArticle()">
|
||||
<button
|
||||
*ngIf="nativeContainer.isUiWebview().isNative"
|
||||
class="btn-outline"
|
||||
[disabled]="addItemsToCartDisabled || loading"
|
||||
(click)="scanArticle()"
|
||||
>
|
||||
Artikel scannen
|
||||
</button>
|
||||
|
||||
|
||||
@@ -233,7 +233,7 @@ export class ProductCheckoutComponent implements OnInit, OnDestroy {
|
||||
private applicationService: ApplicationService,
|
||||
private checkoutService: CheckoutService,
|
||||
private actions: Actions,
|
||||
private nativeContainer: NativeContainerService
|
||||
public nativeContainer: NativeContainerService
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user