remove any

This commit is contained in:
Jacob Overgaard
2023-01-27 13:55:34 +01:00
parent afd81644df
commit bbf3bd5a07

View File

@@ -139,7 +139,7 @@ export class UmbDashboardRedirectManagementElement extends UmbLitElement {
color: 'danger',
confirmLabel: 'Delete',
});
modalHandler?.onClose().then(({ confirmed }: any) => {
modalHandler?.onClose().then(({ confirmed }) => {
if (confirmed) this._removeRedirect(data);
});
}
@@ -163,7 +163,7 @@ export class UmbDashboardRedirectManagementElement extends UmbLitElement {
color: 'danger',
confirmLabel: 'Disable',
});
modalHandler?.onClose().then(({ confirmed }: any) => {
modalHandler?.onClose().then(({ confirmed }) => {
if (confirmed) this._toggleRedirect();
});
}