More things work now
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 34s
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import { ClearWindowsWithType, GetFirstWindowId } from './Windows'
|
||||
import { ClearWindow, GetFirstWindowId } from './Windows'
|
||||
|
||||
/*
|
||||
Put here all dragonroll windows
|
||||
*/
|
||||
const defWindows = {
|
||||
example: {
|
||||
title: 'windows.example',
|
||||
component: () => import('~/components/windows/ExampleWindow.vue'),
|
||||
},
|
||||
login: {
|
||||
title: 'windows.login',
|
||||
movable: false,
|
||||
@@ -18,16 +22,18 @@ const defWindows = {
|
||||
title: 'windows.main-menu',
|
||||
component: () => import('~/components/windows/MainMenuWindow.vue'),
|
||||
},
|
||||
example: {
|
||||
title: 'windows.example',
|
||||
component: () => import('~/components/windows/ExampleWindow.vue'),
|
||||
},
|
||||
edit_profile: {
|
||||
title: "windows.edit-profile",
|
||||
component: () => import('~/components/windows/EditProfileWindow.vue'),
|
||||
close: () => ClearWindowsWithType(GetFirstWindowId('edit_profile')),
|
||||
close: () => ClearWindow({type: 'edit_profile'}),
|
||||
movable: true
|
||||
},
|
||||
settings: {
|
||||
title: "windows.settings",
|
||||
component: () => import('~/components/windows/SettingsWindow.vue'),
|
||||
close: () => ClearWindow({type: 'settings'}),
|
||||
movable: true
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user