cbd5867275
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
18 lines
437 B
Vue
18 lines
437 B
Vue
<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>
|
|
</template>
|