This commit is contained in:
@@ -163,8 +163,9 @@ export default {
|
||||
try {
|
||||
//Does the database need to be erased?
|
||||
let res = await window.$gz.api.get("license/database-empty");
|
||||
if (res.error) {
|
||||
throw res.error;
|
||||
//We never expect there to be no data here
|
||||
if (!res.data) {
|
||||
throw res;
|
||||
}
|
||||
if (res.data != true) {
|
||||
let dialogResult = await window.$gz.dialog.confirmGeneric(
|
||||
|
||||
Reference in New Issue
Block a user