MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / loadSuperPanelPinnedData

Function loadSuperPanelPinnedData

src/renderer/src/stores/commandDataStore.ts:230–236  ·  view source on GitHub ↗

* 从宿主同步超级面板固定列表缓存。

()

Source from the content-addressed store, hash-verified

228 * 从宿主同步超级面板固定列表缓存。
229 */
230 async function loadSuperPanelPinnedData(): Promise<void> {
231 try {
232 superPanelPinned.value = await window.ztools.getSuperPanelPinned()
233 } catch {
234 superPanelPinned.value = []
235 }
236 }
237
238 /**
239 * 判断某个指令是否已固定到超级面板。

Callers 1

initializeDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected