mirror of
https://github.com/elk-zone/elk
synced 2024-12-11 13:18:04 +09:00
25 lines
613 B
Vue
25 lines
613 B
Vue
|
<script setup lang="ts">
|
||
|
const { t } = useI18n()
|
||
|
|
||
|
const featureFlags = useFeatureFlags()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<CommonTooltip :content="t('nav_footer.select_feature_flags')">
|
||
|
<CommonDropdown>
|
||
|
<button flex>
|
||
|
<div i-ri:flag-line text-lg />
|
||
|
</button>
|
||
|
|
||
|
<template #popper>
|
||
|
<CommonDropdownItem
|
||
|
:checked="featureFlags.experimentalVirtualScroll"
|
||
|
@click="toggleFeatureFlag('experimentalVirtualScroll')"
|
||
|
>
|
||
|
{{ t('feature_flag.virtual_scroll') }}
|
||
|
</CommonDropdownItem>
|
||
|
</template>
|
||
|
</CommonDropdown>
|
||
|
</CommonTooltip>
|
||
|
</template>
|