Show addon notification toggle based on

multiple checks
This commit is contained in:
Povel Galfvensjö
2021-08-31 16:10:52 +02:00
parent 95ef30afed
commit ec84a40510

View File

@@ -126,7 +126,8 @@
{{ "PAGES.MY_ADDONS.ADDON_CONTEXT_MENU.AUTO_UPDATE_ADDON_BUTTON" | translate }}
</mat-checkbox>
</div>
<div *ngIf="listItem.addon.autoUpdateEnabled" class="mat-menu-item">
<!-- AUTO UPDATE NOTIFICATIONS -->
<div *ngIf="canSetAutoUpdateNotifications(listItem)" class="mat-menu-item">
<mat-checkbox [checked]="listItem.addon.autoUpdateNotificationsEnabled" (click)="onClickAutoUpdateAddonNotifications(listItem)">
{{ "PAGES.MY_ADDONS.ADDON_CONTEXT_MENU.IGNORE_AUTO_UPDATE_ADDON_NOTIFICATIONS_BUTTON" | translate }}
</mat-checkbox>