fix(timetable): reopen colour picker

+ some quick fixes to dropdowns again
This commit is contained in:
2026-06-22 20:19:17 +09:30
parent fadbca5969
commit 2be27299a5
18 changed files with 922 additions and 140 deletions
+3 -3
View File
@@ -249,7 +249,7 @@
id: 10,
Component: Select,
props: {
state: $settingsState.defaultPage ?? "home",
value: $settingsState.defaultPage ?? "home",
onChange: (value: string) => (settingsState.defaultPage = value),
options: [
{ value: "home", label: "Home" },
@@ -268,7 +268,7 @@
id: 11,
Component: Select,
props: {
state: $settingsState.newsSource,
value: $settingsState.newsSource,
onChange: (value: string) => settingsState.newsSource = value,
options: [
{ value: "australia", label: "Australia" },
@@ -405,7 +405,7 @@
/>
{:else if setting.type === 'select'}
<Select
state={pluginSettingsValues[plugin.pluginId]?.[key] ?? setting.default}
value={pluginSettingsValues[plugin.pluginId]?.[key] ?? setting.default}
onChange={(value) => updatePluginSetting(plugin.pluginId, key, value)}
options={(setting.options as string[]).map(opt => ({
value: opt,