Skip to content

Commit d56d8ff

Browse files
committed
fix: update adminforth dependency to version 2.13.0-next.33 and add close confirmation dialog
1 parent 7a2cba8 commit d56d8ff

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

custom/VisionAction.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
: popupMode === 'settings' ? 'lg:w-[1000px] !lg:max-w-[1000px]'
1414
: 'lg:w-[500px] !lg:max-w-[500px]'"
1515
:beforeCloseFunction="closeDialog"
16+
:closable="false"
17+
:askForCloseConfirmation="true"
18+
closeConfirmationText="Are you sure you want to close without saving?"
1619
:buttons="popupMode === 'generation' ? [
1720
{
1821
label: checkedCount > 1 ? 'Save fields' : 'Save field',

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"dependencies": {
2929
"@types/handlebars": "^4.0.40",
30-
"adminforth": "^2.4.0-next.315",
30+
"adminforth": "^2.13.0-next.33",
3131
"handlebars": "^4.7.8"
3232
},
3333
"release": {

0 commit comments

Comments
 (0)