Used custom labels on tree tab buttons to prevent tooltip formatting shenanigans

This commit is contained in:
Thaum Rystra
2020-05-08 15:59:59 +02:00
parent 4d0ff52853
commit 5f87bbc4f5
2 changed files with 158 additions and 142 deletions

View File

@@ -1,8 +1,13 @@
<template>
<v-btn fab small @click="$emit('click')">
<v-icon>{{icon}}</v-icon>
<v-btn
fab
small
v-bind="$attrs"
@click="$emit('click')"
>
<v-icon>{{ icon }}</v-icon>
<span id="label">
{{label}}
{{ label }}
</span>
</v-btn>
</template>
@@ -12,8 +17,9 @@
* Because speed dials only work well with v-btn's as children, this hacky
* component creates a v-btn with a label.
*/
console.log('labeled fab reporting for duty')
export default {
props: ["icon", "label"],
props: ['icon', 'label'],
}
</script>