Show lightbox controls based on presence of handlers
This commit is contained in:
parent
59650035ec
commit
96be0df8c7
3 changed files with 8 additions and 19 deletions
|
@ -589,7 +589,6 @@
|
|||
documents: [],
|
||||
onItemClick: ({message}) => {
|
||||
const lightboxProps = {
|
||||
shouldShowSaveAsButton: false,
|
||||
imageURL: message.objectURL,
|
||||
};
|
||||
this.lightboxView = new Whisper.ReactWrapperView({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue