cases 4221, 4223

This commit is contained in:
2022-10-26 23:44:29 +00:00
parent b443068c0b
commit 5a36ea3762
4 changed files with 27 additions and 16 deletions

View File

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