aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/settings_modal_content.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-25 13:23:16 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 13:23:16 +0300
commitfca885e665094b8efcbc65a3f4ec9ba31679c4c2 (patch)
treebf3ff54c963911cdf1b48ee894b36cbe0fc3b7cd /src/components/settings_modal/settings_modal_content.js
parent6e687c0663110853f48ee2acb2ffb29f7ff91ef7 (diff)
resolve TODO VUE3
Diffstat (limited to 'src/components/settings_modal/settings_modal_content.js')
-rw-r--r--src/components/settings_modal/settings_modal_content.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/settings_modal/settings_modal_content.js b/src/components/settings_modal/settings_modal_content.js
index deb77298..506b52e4 100644
--- a/src/components/settings_modal/settings_modal_content.js
+++ b/src/components/settings_modal/settings_modal_content.js
@@ -63,7 +63,7 @@ const SettingsModalContent = {
const targetTab = this.$store.state.interface.settingsModalTargetTab
// We're being told to open in specific tab
if (targetTab) {
- const tabIndex = this.$refs.tabSwitcher.$slots.default.findIndex(elm => {
+ const tabIndex = this.$refs.tabSwitcher.$slots.default().findIndex(elm => {
return elm.data && elm.data.attrs['data-tab-name'] === targetTab
})
if (tabIndex >= 0) {