Return on error in activation view
This commit is contained in:
@@ -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...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user