Merge remote-tracking branch 'origin/develop' into threecolumn

* origin/develop:
  Fix tab switcher not working when some tabs hidden
  Fix mobile nav link text colour
  Fix shrug text in muted status
This commit is contained in:
Henry Jameson 2022-04-10 14:54:03 +03:00
commit ce9fd04865
3 changed files with 5 additions and 2 deletions

View file

@ -94,6 +94,9 @@
grid-template-columns: 2fr auto;
width: 100%;
box-sizing: border-box;
a {
color: var(--topBarLink, $fallback--link);
}
}
.mobile-inner-nav {

View file

@ -50,7 +50,7 @@ export default {
activeIndex () {
// In case of controlled component
if (this.activeTab) {
return this.slots().findIndex(slot => this.activeTab === slot.props.key)
return this.slots().findIndex(slot => slot && slot.props && this.activeTab === slot.props.key)
} else {
return this.active
}

View file

@ -1,5 +1,5 @@
<template>
<div class="thread-tree panel-body">
<div class="thread-tree">
<status
:key="status.id"
ref="statusComponent"