This commit is contained in:
syuilo 2020-12-29 10:31:04 +09:00
parent 657aac5bc5
commit de86644cb6
1 changed files with 5 additions and 3 deletions

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>
<optgroup :label="$ts._theme.installedThemes">
<option v-for="x in installedThemes" :value="x.id" :key="x.id">{{ x.name }}</option> <option v-for="x in installedThemes" :value="x.id" :key="x.id">{{ x.name }}</option>
<optgroup :label="$ts.builtinThemes"> </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>