feat(ipc): handle set-hook-failure-prefs from server settings UI
Wires hook failure notification mute checkbox to platform setHookFailurePrefs and refreshes view state. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -105,6 +105,11 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'set-hook-failure-prefs') {
|
||||
await platform.setHookFailurePrefs(msg.prefs || {})
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'export-integration-worker-script') {
|
||||
const script = platform.buildIntegrationWorkerScript(msg.templateId || 'message-logger')
|
||||
send({
|
||||
|
||||
Reference in New Issue
Block a user