mirror of
https://github.com/romancm/gamebrary
synced 2024-11-15 07:57:19 +00:00
change getter logic for dark theme
This commit is contained in:
parent
55bb2cf95a
commit
3b883d1609
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
import orderby from 'lodash.orderby';
|
||||
|
||||
export default {
|
||||
nightMode: state => Boolean(state.settings && state.settings.nightMode),
|
||||
nightMode: ({ settings }) => settings && settings.theme && settings.theme === 'dark',
|
||||
sortedBoards: ({ boards }) => orderby(boards, 'name'),
|
||||
|
||||
filteredPlatforms: (state) => {
|
||||
|
|
Loading…
Reference in a new issue