diff options
Diffstat (limited to 'src/tools/benchmark-builder')
-rw-r--r-- | src/tools/benchmark-builder/dynamic-values.vue | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/tools/benchmark-builder/dynamic-values.vue b/src/tools/benchmark-builder/dynamic-values.vue index 975a545..e048ef9 100644 --- a/src/tools/benchmark-builder/dynamic-values.vue +++ b/src/tools/benchmark-builder/dynamic-values.vue @@ -39,14 +39,11 @@ function onInputEnter(index: number) { autofocus @keydown.enter="onInputEnter(index)" /> - <n-tooltip> - <template #trigger> - <c-button circle variant="text" @click="values.splice(index, 1)"> - <n-icon :component="Trash" depth="3" size="18" /> - </c-button> - </template> - Delete value - </n-tooltip> + <c-tooltip tooltip="Delete this value"> + <c-button circle variant="text" @click="values.splice(index, 1)"> + <n-icon :component="Trash" depth="3" size="18" /> + </c-button> + </c-tooltip> </div> <c-button @click="addValue"> |