diff options
| author | Henry Jameson <me@hjkos.com> | 2022-03-17 08:47:11 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-03-17 08:53:45 +0200 |
| commit | 0671aa0dd0cd199dc6206ae8b3fb0de114acddfe (patch) | |
| tree | 50b132652b4db4f53f39461208a04c346ab82b1e /src/components/settings_modal/settings_modal_content.js | |
| parent | b62653c202d35ebcc5cd56d87c049405d6d500cd (diff) | |
fix tabswitcher
Diffstat (limited to 'src/components/settings_modal/settings_modal_content.js')
| -rw-r--r-- | src/components/settings_modal/settings_modal_content.js | 2 |
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 506b52e4..deb77298 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) { |
