mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
revert: wizard notifications
This commit is contained in:
1 parent
99819a3ca0
commit
9ac458a689
4 files changed
-20
No files matched your search
@@ -5,7 +5,6 @@
|
||||
import { createPlatform } from './wizard/store';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { onboarding } from '../../store';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import type { WizardStepsType } from '$lib/layout/wizard.svelte';
|
||||
import Step1 from './wizard/android/step1.svelte';
|
||||
import Step2 from './wizard/android/step2.svelte';
|
||||
@@ -17,10 +16,6 @@
|
||||
invalidate(Dependencies.PROJECT);
|
||||
}
|
||||
invalidate(Dependencies.PLATFORMS);
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${$createPlatform.name} platform has been created.`
|
||||
});
|
||||
createPlatform.reset();
|
||||
wizard.hide();
|
||||
}
|
||||
|
||||
@@ -10,17 +10,12 @@
|
||||
import Step4 from './wizard/step4.svelte';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { onboarding } from '../../store';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
|
||||
async function onFinish() {
|
||||
if ($onboarding) {
|
||||
invalidate(Dependencies.PROJECT);
|
||||
}
|
||||
invalidate(Dependencies.PLATFORMS);
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${$createPlatform.name} platform has been created.`
|
||||
});
|
||||
createPlatform.reset();
|
||||
wizard.hide();
|
||||
}
|
||||
|
||||
@@ -10,17 +10,12 @@
|
||||
import Step4 from './wizard/step4.svelte';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { onboarding } from '../../store';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
|
||||
async function onFinish() {
|
||||
if ($onboarding) {
|
||||
invalidate(Dependencies.PROJECT);
|
||||
}
|
||||
invalidate(Dependencies.PLATFORMS);
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${$createPlatform.name} platform has been created.`
|
||||
});
|
||||
createPlatform.reset();
|
||||
wizard.hide();
|
||||
}
|
||||
|
||||
@@ -10,17 +10,12 @@
|
||||
import Step4 from './wizard/step4.svelte';
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { onboarding } from '../../store';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
|
||||
async function onFinish() {
|
||||
if ($onboarding) {
|
||||
invalidate(Dependencies.PROJECT);
|
||||
}
|
||||
invalidate(Dependencies.PLATFORMS);
|
||||
addNotification({
|
||||
type: 'success',
|
||||
message: `${$createPlatform.name} platform has been created.`
|
||||
});
|
||||
createPlatform.reset();
|
||||
wizard.hide();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user