Add an option to expand the dropdown
and make it the default Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
f1ea4aceff
commit
5536357424
5 changed files with 12 additions and 2 deletions
|
@ -39,7 +39,7 @@ const NavPanel = {
|
|||
},
|
||||
data () {
|
||||
return {
|
||||
showTimelines: true
|
||||
showTimelines: this.$store.getters.mergedConfig.showTimelines
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -78,6 +78,13 @@
|
|||
{{ $t('settings.hide_shoutbox') }}
|
||||
</BooleanSetting>
|
||||
</li>
|
||||
<li>
|
||||
<BooleanSetting
|
||||
path="showTimelines"
|
||||
>
|
||||
{{ $t('settings.showTimelines') }}
|
||||
</BooleanSetting>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="setting-item">
|
||||
|
|
|
@ -508,6 +508,7 @@
|
|||
"greentext": "Meme arrows",
|
||||
"conversation_view": "Conversation View",
|
||||
"mentions": "Mentions",
|
||||
"showTimelines": "Expand timeline options by default",
|
||||
"show_yous": "Show (You)s",
|
||||
"notifications": "Notifications",
|
||||
"notification_setting_filters": "Filters",
|
||||
|
|
|
@ -91,7 +91,8 @@ export const defaultState = {
|
|||
sensitiveByDefault: undefined, // instance default
|
||||
conversationDisplay: undefined, // instance default
|
||||
conversationOtherRepliesButton: undefined, // instance default
|
||||
maxDepthInThread: 18
|
||||
maxDepthInThread: 18,
|
||||
showTimelines: undefined // instance default
|
||||
}
|
||||
|
||||
// caching the instance default properties
|
||||
|
|
|
@ -56,6 +56,7 @@ const defaultState = {
|
|||
conversationDisplay: 'simple_tree',
|
||||
conversationOtherRepliesButton: 'below',
|
||||
maxDepthInThread: 6,
|
||||
showTimelines: true,
|
||||
|
||||
// Nasty stuff
|
||||
customEmoji: [],
|
||||
|
|
Loading…
Reference in a new issue