Takes the last commit from #9216 to make umb-confirm-action backwards compatible

This commit is contained in:
Sebastiaan Janssen
2020-10-22 10:43:37 +02:00
parent c903a01f15
commit 174909d735
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ The prompt can be opened in four direction up, down, left or right.</p>
templateUrl: 'views/components/umb-confirm-action.html',
scope: {
direction: "@",
show: "<",
show: "<?",
onDelete: "&?",
onConfirm: "&",
onCancel: "&"

View File

@@ -12,7 +12,7 @@
'-right': direction === 'right',
'-bottom': direction === 'bottom',
'-left': direction === 'left'}"
on-outside-click="clickCancel()" ng-if="show">
on-outside-click="clickCancel()" ng-if="show !== false">
<button type="button" class="btn-reset umb_confirm-action__overlay-action -confirm" ng-click="clickConfirm()" localize="title" title="@buttons_confirmActionConfirm">
<umb-icon icon="icon-check" class="icon-check"></umb-icon>