Whatever ClearWindow needs to be in json
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s

This commit is contained in:
2026-04-26 22:57:29 +02:00
parent 475887420c
commit 2b07cc98a6
20 changed files with 509 additions and 59 deletions

View File

@@ -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 {