MOBILE-4653 notifications: Fix opening notification action
The siteId parameter is mandatory for actions, but in notiifcations it wasn't supplied. This worked fine before, but after the refactor done in MOBILE-4028 it no longer workedmain
parent
99e1223616
commit
bd41c5d064
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
<div collapsible-footer appearOnBottom *ngIf="loaded && actions && actions.length > 0" slot="fixed">
|
<div collapsible-footer appearOnBottom *ngIf="loaded && actions && actions.length > 0" slot="fixed">
|
||||||
<div class="list-item-limited-width adaptable-buttons-row">
|
<div class="list-item-limited-width adaptable-buttons-row">
|
||||||
<ion-button expand="block" (click)="action.action()" *ngFor="let action of actions">
|
<ion-button expand="block" (click)="action.action(action.sites[0])" *ngFor="let action of actions">
|
||||||
<ion-icon slot="start" name="{{action.icon}}" aria-hidden="true" />
|
<ion-icon slot="start" name="{{action.icon}}" aria-hidden="true" />
|
||||||
{{ action.message | translate }}
|
{{ action.message | translate }}
|
||||||
</ion-button>
|
</ion-button>
|
||||||
|
|
Loading…
Reference in New Issue