MCPcopy Create free account
hub / github.com/devnomad-byte/EvolveHub / closeWindow

Function closeWindow

frontend/src/stores/window.ts:121–130  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

119 }
120
121 function closeWindow(id: string) {
122 const w = windows.value[id]
123 if (w) w.isOpen = false
124 if (activeWindowId.value === id) {
125 const remaining = openWindows.value
126 activeWindowId.value = remaining.length > 0
127 ? remaining[remaining.length - 1].id
128 : null
129 }
130 }
131
132 function closeByAppId(appId: AppId) {
133 const w = windowList.value.find(w => w.appId === appId && w.isOpen)

Callers 1

closeByAppIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected