Replace sketchy lodash import for tooltip ids with own implementation (#2378)
This commit is contained in:
parent
6ced687139
commit
43b9effb46
|
@ -1,5 +1,6 @@
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { uniqueId } from 'lodash'
|
|
||||||
|
let idCounter = 0
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
name: 'FtTooltip',
|
name: 'FtTooltip',
|
||||||
|
@ -15,7 +16,7 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const id = uniqueId('ft-tooltip-')
|
const id = `ft-tooltip-${++idCounter}`
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id
|
id
|
||||||
|
|
Loading…
Reference in New Issue