MCPcopy Create free account
hub / github.com/massCodeIO/massCode / useImportDialog

Function useImportDialog

src/renderer/composables/useImportDialog.ts:13–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13export function useImportDialog() {
14 function openImportDialog(
15 source: ImportDialogSource,
16 space = getImportDialogSpace(source),
17 ) {
18 importDialogSpace.value = space
19 isImportDialogOpen.value = true
20 }
21
22 return {
23 importDialogSpace,
24 isImportDialogOpen,
25 openImportDialog,
26 }
27}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected