Skip to content

Commit

Permalink
better parameter sorting app settings
Browse files Browse the repository at this point in the history
  • Loading branch information
fde31 committed Jun 25, 2024
1 parent f31bb89 commit 2e5f609
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const appSettingDefaults: Record<AppSetting, Omit<AppSettingRecordProps,
description: "Select the color scheme of the user interface",
tab: SettingsTab.UI,
options: ["light", "dark"],
title: "Theme",
title: "Color Scheme",
type: AppSettingType.String,
value: "light"
},
Expand All @@ -55,15 +55,15 @@ export const appSettingDefaults: Record<AppSetting, Omit<AppSettingRecordProps,
description: "Configure whether to sort instance parameters by name or 'displayorder'",
tab: SettingsTab.UI,
options: [{ label: "Displayorder", value: ParameterSortAttr.Index }, { label: "Name", value: ParameterSortAttr.Name }],
title: "Parameter Sort Attribute",
title: "Parameter List: Sort Attribute",
type: AppSettingType.String,
value: ParameterSortAttr.Name
},
[AppSetting.paramSortOrder]: {
description: "Configure in which order to sort instance parameters",
tab: SettingsTab.UI,
options: [{ label: "Ascending", value: SortOrder.Asc }, { label: "Descending", value: SortOrder.Desc }],
title: "Parameter Sort Order",
title: "Parameter List: Sort Order",
type: AppSettingType.String,
value: SortOrder.Asc
}
Expand Down

0 comments on commit 2e5f609

Please sign in to comment.