diff --git a/frontend/src/components/common/SwitchButton.vue b/frontend/src/components/common/SwitchButton.vue index ab62190..82baf85 100644 --- a/frontend/src/components/common/SwitchButton.vue +++ b/frontend/src/components/common/SwitchButton.vue @@ -12,6 +12,10 @@ const props = defineProps({ }, icons: Array, tTooltips: Array, + tTooltipPlacement: { + type: String, + default: 'bottom', + }, iconSize: { type: [Number, String], default: 20, @@ -45,6 +49,7 @@ const handleSwitch = (idx) => { v-for="(icon, i) in props.icons" :key="i" :disabled="!(props.tTooltips && props.tTooltips[i])" + :placement="props.tTooltipPlacement" :show-arrow="false">