Groups: fix DetailsStep
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
f829440104
commit
b6b9fdb035
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ const DetailsStep = () => {
|
|||
if (!groupId) return;
|
||||
|
||||
dispatch((_, getState) => {
|
||||
const group = getState().groups.get(groupId);
|
||||
const group = getState().groups.items.get(groupId);
|
||||
if (!group) return;
|
||||
if (group.avatar && !isDefaultAvatar(group.avatar)) setAvatarSrc(group.avatar);
|
||||
if (group.header && !isDefaultHeader(group.header)) setHeaderSrc(group.header);
|
||||
|
|
Loading…
Reference in a new issue