[↩️] Okay never mind it was supposed to be there
This commit is contained in:
parent
a7b5f61005
commit
30a4e85f96
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ export const run = (element: HTMLDivElement): void => {
|
|||
element.style.alignItems = 'center'
|
||||
element.style.gap = '5px'
|
||||
element.style.flex = '1'
|
||||
|
||||
// @ts-expect-error
|
||||
window.addEventListener('app_opened', (e: AppOpenedEvent): void => {
|
||||
const appIcon = document.createElement('app')
|
||||
const app = e.detail.app
|
||||
|
|
@ -28,7 +28,7 @@ export const run = (element: HTMLDivElement): void => {
|
|||
}
|
||||
element.appendChild(appIcon)
|
||||
})
|
||||
|
||||
// @ts-expect-error
|
||||
window.addEventListener('app_closed', (e: AppClosedEvent): void => {
|
||||
const win = e.detail.win
|
||||
element.querySelector(`img[data-id="${win.id}"]`)?.parentElement?.remove()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue