diff options
author | ThibG <thib@sitedethib.com> | 2018-05-29 16:25:05 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-29 16:25:05 +0200 |
commit | 0345cd5a0f434a43ea988a2b50ab6f8597bcf58e (patch) | |
tree | c2744bdaf7fb131afc12b80e0dfdfdd5796a3982 /app | |
parent | 90908fc24ba57c877de75fe117b8cc234e29d4f0 (diff) |
Fix error when unmuting a domain without listing muted domains first (#7670)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/reducers/domain_lists.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/mastodon/reducers/domain_lists.js b/app/javascript/mastodon/reducers/domain_lists.js index a9e3519f3..eff97fbd6 100644 --- a/app/javascript/mastodon/reducers/domain_lists.js +++ b/app/javascript/mastodon/reducers/domain_lists.js @@ -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) { |