Whatever ClearWindow needs to be in json
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { ClearWindowsWithType, GetFirstWindowId } from './Windows'
|
||||
|
||||
/*
|
||||
Put here all dragonroll windows
|
||||
*/
|
||||
|
||||
const defWindows = {
|
||||
login: {
|
||||
title: 'windows.login',
|
||||
@@ -20,7 +21,13 @@ const defWindows = {
|
||||
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')),
|
||||
movable: true
|
||||
},
|
||||
}
|
||||
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user