1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-26 04:28:00 +09:00
elk/components/nav/SelectFeatureFlags.vue

18 lines
437 B
Vue
Raw Normal View History

2022-11-29 07:57:27 +09:00
<script setup lang="ts">
const featureFlags = useFeatureFlags()
</script>
<template>
<CommonDropdown placement="top">
<slot />
<template #popper>
<CommonDropdownItem
:checked="featureFlags.experimentalVirtualScroll"
@click="toggleFeatureFlag('experimentalVirtualScroll')"
>
{{ $t('feature_flag.virtual_scroll') }}
</CommonDropdownItem>
</template>
</CommonDropdown>
2022-11-29 07:57:27 +09:00
</template>