Browse Source

Fix error when unmuting a domain without listing muted domains first (#7670)

pull/4/head
ThibG 6 years ago
committed by Eugen Rochko
parent
commit
0345cd5a0f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/javascript/mastodon/reducers/domain_lists.js

+ 3
- 1
app/javascript/mastodon/reducers/domain_lists.js View File

@ -6,7 +6,9 @@ import {
import { Map as ImmutableMap, OrderedSet as ImmutableOrderedSet } from 'immutable';
const initialState = ImmutableMap({
blocks: ImmutableMap(),
blocks: ImmutableMap({
items: ImmutableOrderedSet(),
}),
});
export default function domainLists(state = initialState, action) {

Loading…
Cancel
Save