This commit is contained in:
@@ -94,6 +94,23 @@ export default {
|
||||
}
|
||||
]
|
||||
});
|
||||
},
|
||||
/////////////////////////////////////
|
||||
// Display LT message with wait for ok
|
||||
//
|
||||
displayLTErrorMessage(vm, ltKeyText, ltKeyTitle = undefined) {
|
||||
//https://github.com/yariksav/vuetify-dialog#readme
|
||||
return vm.$dialog.error({
|
||||
text: ltKeyText ? vm.$gzlocale.get(ltKeyText) : "",
|
||||
title: ltKeyTitle ? vm.$gzlocale.get(ltKeyTitle) : "",
|
||||
icon: "fa-exclamation-triangle",
|
||||
actions: [
|
||||
{
|
||||
text: vm.$gzlocale.get("OK"),
|
||||
key: true
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
//new functions above here
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user