added "dire" mode to warning dialog and use it with license erase db

This commit is contained in:
2022-03-11 19:32:11 +00:00
parent b585edad6b
commit e1b146d1f2
3 changed files with 20 additions and 3 deletions

View File

@@ -464,7 +464,7 @@ export default {
if (this.dbIsEmpty != true) {
let dialogResult = await window.$gz.dialog.confirmGeneric(
"AdminEraseDatabaseWarning",
"warning"
"dire"
);
if (dialogResult == false) {
return;
@@ -472,7 +472,7 @@ export default {
dialogResult = await window.$gz.dialog.confirmGeneric(
"AdminEraseDatabaseLastWarning",
"error"
"dire"
);
if (dialogResult == false) {
return;