Return on error in activation view

This commit is contained in:
Johannes Zellner
2025-04-01 14:44:51 +02:00
parent 9b2c954f8e
commit 9224d1e017
2 changed files with 331 additions and 1 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ async function onOwnerSubmit() {
onMounted(async () => {
const [error, result] = await cloudronModel.provisionStatus();
console.log(error, result)
if (error) return console.error(error);
if (redirectIfNeeded(result, 'activation')) return; // redirected to some other view...