cases 4221, 4223
This commit is contained in:
@@ -222,7 +222,8 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
//call erase before seeding
|
||||
//call the FULL (including taxcodes) erase before seeding
|
||||
window.$gz.erasingDatabase = true; //flags notify poll to suspend as user may be gone
|
||||
let r = await window.$gz.api.upsert(
|
||||
"license/permanently-erase-all-data",
|
||||
"I understand"
|
||||
@@ -230,6 +231,7 @@ export default {
|
||||
if (r.error) {
|
||||
throw new Error(window.$gz.errorHandler.errorToString(r, vm));
|
||||
}
|
||||
window.$gz.erasingDatabase = false;
|
||||
|
||||
//start the seeding
|
||||
let jobId = await window.$gz.api.upsert("trial/seed", vm.obj);
|
||||
|
||||
Reference in New Issue
Block a user