Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/massCodeIO/massCode
/ onConfirm
Function
onConfirm
src/renderer/composables/useDialog.ts:50–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
const
isOpen = ref(true)
49
50
const
onConfirm = () => {
51
if
(!isDialogActive)
52
return
53
54
resolve(true)
55
isOpen.value = false
56
cleanup()
57
}
58
59
const
onCancel = () => {
60
if
(!isDialogActive)
Callers
1
handleKeyDown
Function · 0.85
Calls
2
cleanup
Function · 0.85
resolve
Function · 0.50
Tested by
no test coverage detected