mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-14 21:50:50 +01:00
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 { uniqueId } from 'lodash'
|
||||
|
||||
let idCounter = 0
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'FtTooltip',
|
||||
@ -15,7 +16,7 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
data() {
|
||||
const id = uniqueId('ft-tooltip-')
|
||||
const id = `ft-tooltip-${++idCounter}`
|
||||
|
||||
return {
|
||||
id
|
||||
|
Loading…
Reference in New Issue
Block a user