mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-13 22:59:45 +03:00
23 lines
673 B
Vue
23 lines
673 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>
|
|
<CommonDropdownItem
|
|
:checked="featureFlags.experimentalAvatarOnAvatar"
|
|
@click="toggleFeatureFlag('experimentalAvatarOnAvatar')"
|
|
>
|
|
{{ $t('feature_flag.avatar_on_avatar') }}
|
|
</CommonDropdownItem>
|
|
</template>
|
|
</CommonDropdown>
|
|
</template>
|