()
| 121 | } |
| 122 | |
| 123 | function getStaticTabBlockCount(): number { |
| 124 | const tabId = globalStore.get(atoms.staticTabId); |
| 125 | const tabORef = WOS.makeORef("tab", tabId); |
| 126 | const tabAtom = WOS.getWaveObjectAtom<Tab>(tabORef); |
| 127 | const tabData = globalStore.get(tabAtom); |
| 128 | return tabData?.blockids?.length ?? 0; |
| 129 | } |
| 130 | |
| 131 | function simpleCloseStaticTab() { |
| 132 | const workspaceId = globalStore.get(atoms.workspaceId); |
no test coverage detected