mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Add server config modified message to prompt restart (#1668)
* Server config changed message * Write to settings on unmount * nit * Highlight modified config * Move modified logic to store * Add jest test * nit
This commit is contained in:
@@ -10,6 +10,9 @@ const mockElectronAPI: Plugin = {
|
||||
{
|
||||
tag: 'script',
|
||||
children: `window.electronAPI = {
|
||||
restartApp: () => {
|
||||
alert('restartApp')
|
||||
},
|
||||
sendReady: () => {},
|
||||
onShowSelectDirectory: () => {},
|
||||
onFirstTimeSetupComplete: () => {},
|
||||
|
||||
Reference in New Issue
Block a user