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:
Chenlei Hu
2024-11-24 13:13:37 -08:00
committed by GitHub
parent 4a4d6d070a
commit c61ed4da37
9 changed files with 138 additions and 24 deletions

View File

@@ -10,6 +10,9 @@ const mockElectronAPI: Plugin = {
{
tag: 'script',
children: `window.electronAPI = {
restartApp: () => {
alert('restartApp')
},
sendReady: () => {},
onShowSelectDirectory: () => {},
onFirstTimeSetupComplete: () => {},