Add onboarding settings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-06-11 10:58:23 +02:00
parent 412206c2e7
commit 6094e90f28
9 changed files with 213 additions and 16 deletions

View File

@@ -58,11 +58,10 @@ import Logo from "./components/Logo.vue";
import { initializeCurrentActor } from "./utils/auth";
import { CONFIG } from "./graphql/config";
import { IConfig } from "./types/config.model";
import { ICurrentUser } from "./types/current-user.model";
@Component({
apollo: {
currentUser: {
query: CURRENT_USER_CLIENT,
},
currentUser: CURRENT_USER_CLIENT,
config: CONFIG,
},
components: {
@@ -73,6 +72,7 @@ import { IConfig } from "./types/config.model";
})
export default class App extends Vue {
config!: IConfig;
currentUser!: ICurrentUser;
async created() {
if (await this.initializeCurrentUser()) {