Add default config to admin store
This commit is contained in:
parent
adecf1897a
commit
6cf5a86f8c
|
@ -3,9 +3,16 @@ import api from "builderStore/api"
|
||||||
import { auth } from "stores/portal"
|
import { auth } from "stores/portal"
|
||||||
|
|
||||||
export function createAdminStore() {
|
export function createAdminStore() {
|
||||||
const admin = writable({
|
|
||||||
|
const DEFAULT_CONFIG = {
|
||||||
loaded: false,
|
loaded: false,
|
||||||
})
|
multiTenancy: false,
|
||||||
|
sandbox: false,
|
||||||
|
onboardingProgress: 0,
|
||||||
|
checklist: {"apps":0,"smtp":false,"adminUser":false,"sso":false}
|
||||||
|
}
|
||||||
|
|
||||||
|
const admin = writable(DEFAULT_CONFIG)
|
||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue