better UX for missing spreadsheet access

This commit is contained in:
msramalho
2026-03-03 13:06:11 +00:00
parent 0cfea84b38
commit 1fad0aa14f

View File

@@ -294,6 +294,9 @@ export default {
this.showSnackbar(`Sheet created successfully!`, "green"); this.showSnackbar(`Sheet created successfully!`, "green");
this.$store.dispatch("getSheets"); this.$store.dispatch("getSheets");
this.$store.dispatch("checkUserUsage"); this.$store.dispatch("checkUserUsage");
this.sheetName = "";
this.sheetUrlId = "";
this.group = "please select";
} else { } else {
throw new Error(JSON.stringify(j)); throw new Error(JSON.stringify(j));
} }
@@ -304,9 +307,6 @@ export default {
}) })
.finally(() => { .finally(() => {
this.loading = false; this.loading = false;
this.sheetName = "";
this.sheetUrlId = "";
this.group = "please select";
}); });
}, },
displayPermissionValue(value, extraWord) { displayPermissionValue(value, extraWord) {