|
|
@ -51,14 +51,14 @@ export class SessionChannelSettings extends React.Component<Props, any> {
|
|
|
|
|
|
|
|
|
|
|
|
public componentDidUpdate() {
|
|
|
|
public componentDidUpdate() {
|
|
|
|
this.getMediaGalleryProps()
|
|
|
|
this.getMediaGalleryProps()
|
|
|
|
.then(({ documents, media, onItemClick }) => {
|
|
|
|
.then(({ documents, media, onItemClick }) => {
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
documents,
|
|
|
|
documents,
|
|
|
|
media,
|
|
|
|
media,
|
|
|
|
onItemClick,
|
|
|
|
onItemClick,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.ignore();
|
|
|
|
.ignore();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public async getMediaGalleryProps() {
|
|
|
|
public async getMediaGalleryProps() {
|
|
|
|