generated from Seekra/repository-template
feat(settings): add selection setting
This commit is contained in:
@@ -17,6 +17,7 @@ limitations under the License.
|
||||
<script setup>
|
||||
import Switch from './Switch.vue';
|
||||
import SettingsInput from './SettingsInput.vue';
|
||||
import Selection from './Selection.vue';
|
||||
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { getSectionHeadingLevel } from '../utils/getSectionHeadingLevel.js';
|
||||
@@ -52,6 +53,11 @@ const props = defineProps({
|
||||
:setting="setting"
|
||||
:path="`${props.path}.${setting.name}`"
|
||||
/>
|
||||
<Selection
|
||||
v-if="setting.type === 'selection'"
|
||||
:setting="setting"
|
||||
:path="`${props.path}.${setting.name}`"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user