Add default config to admin store
This commit is contained in:
parent
48c40446f0
commit
3ef05e3d36
|
@ -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