From 43b9effb464f87195825b7f39548ecd621339a3c Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Sat, 9 Jul 2022 23:43:51 +0200 Subject: [PATCH] Replace sketchy lodash import for tooltip ids with own implementation (#2378) --- src/renderer/components/ft-tooltip/ft-tooltip.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ft-tooltip/ft-tooltip.js b/src/renderer/components/ft-tooltip/ft-tooltip.js index d79135b3e..fc34ec65d 100644 --- a/src/renderer/components/ft-tooltip/ft-tooltip.js +++ b/src/renderer/components/ft-tooltip/ft-tooltip.js @@ -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