mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-23 01:45:26 +03:00
cbd5867275
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
17 lines
437 B
Vue
17 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>
|