This commit is contained in:
syuilo 2020-12-29 10:31:04 +09:00
parent 657aac5bc5
commit de86644cb6

View file

@ -1,9 +1,11 @@
<template> <template>
<FormBase> <FormBase>
<FormSelect v-model:value="selectedThemeId"> <FormSelect v-model:value="selectedThemeId">
<template #label>{{ $ts.installedThemes }}</template> <template #label>{{ $ts.theme }}</template>
<option v-for="x in installedThemes" :value="x.id" :key="x.id">{{ x.name }}</option> <optgroup :label="$ts._theme.installedThemes">
<optgroup :label="$ts.builtinThemes"> <option v-for="x in installedThemes" :value="x.id" :key="x.id">{{ x.name }}</option>
</optgroup>
<optgroup :label="$ts._theme.builtinThemes">
<option v-for="x in builtinThemes" :value="x.id" :key="x.id">{{ x.name }}</option> <option v-for="x in builtinThemes" :value="x.id" :key="x.id">{{ x.name }}</option>
</optgroup> </optgroup>
</FormSelect> </FormSelect>