@ -350,12 +350,9 @@
props: getGroupSettingsProp(this.model),
});
this.$('.conversation-content-right').append(this.groupSettings.el);
this.$('.conversation-content-right').show();
return;
} else {
this.groupSettings.update(getGroupSettingsProp(this.model));
}
};
@ -51,14 +51,14 @@ export class SessionChannelSettings extends React.Component<Props, any> {
public componentDidUpdate() {
this.getMediaGalleryProps()
.then(({ documents, media, onItemClick }) => {
this.setState({
documents,
media,
onItemClick,
})
.ignore();
public async getMediaGalleryProps() {