pull/715/head
Audric Ackermann 5 years ago
parent 86e39ce4e2
commit ab862dbecf

@ -260,7 +260,7 @@
window.Whisper.events.trigger('onShowUserDetails', {
userPubKey: pubkey,
});
} else if (!this.model.isRss()){
} else if (!this.model.isRss()) {
this.showGroupSettings();
}
},
@ -1366,9 +1366,9 @@
className: 'lightbox-wrapper',
Component: Signal.Components.LightboxGallery,
props: {
media,
onSave: () => this.downloadAttachment({ attachment, message }),
selectedIndex,
media,
onSave: () => this.downloadAttachment({ attachment, message }),
selectedIndex,
},
onClose: () => Signal.Backbone.Views.Lightbox.hide(),
});

@ -153,10 +153,12 @@ export class SessionChannelSettings extends React.Component<Props, any> {
break;
}
case 'media': {
const lightBoxOptions = {
media, attachment, message,
};
case 'media': {
const lightBoxOptions = {
media,
attachment,
message,
};
this.onShowLightBox(lightBoxOptions);
break;
}
@ -167,9 +169,9 @@ export class SessionChannelSettings extends React.Component<Props, any> {
};
return {
media,
documents,
onItemClick,
media,
documents,
onItemClick,
};
}

Loading…
Cancel
Save