2022-11-28 22:57:27 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
const { t } = useI18n()
|
|
|
|
|
|
|
|
const featureFlags = useFeatureFlags()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<CommonTooltip :content="t('nav_footer.select_feature_flags')">
|
|
|
|
<CommonDropdown>
|
2022-11-29 21:24:26 +00:00
|
|
|
<button flex :aria-label="t('nav_footer.select_feature_flags')">
|
2022-11-28 22:57:27 +00:00
|
|
|
<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>
|