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

This reverts commit 174909d735.
This commit is contained in:
Sebastiaan Janssen
2020-10-22 12:33:19 +02:00
parent 094897704c
commit f3af025c79
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 !== false">
on-outside-click="clickCancel()" ng-if="show">
<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>