Fix default setting issue for first time install (#203)

* Fix default setting issue for first time install

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-07-22 22:54:59 -04:00
committed by GitHub
parent bd68617c82
commit a71f7671ae
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

View File

@@ -40,7 +40,8 @@ const updateTheme = (e) => {
};
const updateNodeSearchSetting = (e) => {
nodeSearchEnabled.value = e.detail.value === "default";
const settingValue = e.detail.value || "default";
nodeSearchEnabled.value = settingValue === "default";
};
const init = async () => {