fix: tootltip for menu items

This commit is contained in:
Pranav C
2024-11-12 06:06:47 +00:00
parent 6ee538d1d7
commit fc5e7aa2ba
7 changed files with 100 additions and 58 deletions

View File

@@ -235,7 +235,7 @@ const onClick = (e: Event) => {
</template>
<NcTooltip placement="bottom" class="truncate name pl-1" :show-on-truncate-only="!showTooltipAlways">
<template #title>
<template v-for="msg in tooltipMsg.split('\n')">
<template v-for="(msg, i) in tooltipMsg.split('\n')" :key="i">
<div>{{ msg }}</div>
</template>
</template>