diff --git a/src/components/settings_modal/settings_modal_content.js b/src/components/settings_modal/settings_modal_content.js
index deb772985..9ac0301f6 100644
--- a/src/components/settings_modal/settings_modal_content.js
+++ b/src/components/settings_modal/settings_modal_content.js
@@ -63,8 +63,8 @@ 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 => {
- return elm.data && elm.data.attrs['data-tab-name'] === targetTab
+ const tabIndex = this.$refs.tabSwitcher.$slots.default().findIndex(elm => {
+ return elm.props && elm.props['data-tab-name'] === targetTab
})
if (tabIndex >= 0) {
this.$refs.tabSwitcher.setTab(tabIndex)
diff --git a/src/components/settings_modal/tabs/filtering_tab.vue b/src/components/settings_modal/tabs/filtering_tab.vue
index dc48902f8..97046ff0c 100644
--- a/src/components/settings_modal/tabs/filtering_tab.vue
+++ b/src/components/settings_modal/tabs/filtering_tab.vue
@@ -72,22 +72,10 @@
{{ $t('settings.filtering_explanation') }}
{{ $t('settings.attachments') }}
-
-
-
-
{{ $t('settings.max_thumbnails') }}
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index c832758d7..61feb3035 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -101,6 +101,7 @@
:to="retweeterProfileLink"
>{{ retweeter }}
+ {{ ' ' }}
import('../popover/popover.vue')),
UserAvatar: defineAsyncComponent(() => import('../user_avatar/user_avatar.vue'))
},
diff --git a/src/modules/interface.js b/src/modules/interface.js
index 6509386a0..17277331b 100644
--- a/src/modules/interface.js
+++ b/src/modules/interface.js
@@ -106,7 +106,7 @@ const interfaceMod = {
commit('openSettingsModal')
},
pushGlobalNotice (
- { commit, dispatch },
+ { commit, dispatch, state },
{
messageKey,
messageArgs = {},
@@ -118,11 +118,14 @@ const interfaceMod = {
messageArgs,
level
}
- if (timeout) {
- setTimeout(() => dispatch('removeGlobalNotice', notice), timeout)
- }
commit('pushGlobalNotice', notice)
- return notice
+ // Adding a new element to array wraps it in a Proxy, which breaks the comparison
+ // TODO: Generate UUID or something instead or relying on !== operator?
+ const newNotice = state.globalNotices[state.globalNotices.length - 1]
+ if (timeout) {
+ setTimeout(() => dispatch('removeGlobalNotice', newNotice), timeout)
+ }
+ return newNotice
},
removeGlobalNotice ({ commit }, notice) {
commit('removeGlobalNotice', notice)