This commit is contained in:
2019-05-29 22:08:27 +00:00
parent fa6fe20ae1
commit 4f4252a947
3 changed files with 31 additions and 10 deletions

View File

@@ -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
};