fix width and height missing from photoswipe items
This commit is contained in:
parent
e913615f57
commit
80e26b10b7
|
@ -152,6 +152,8 @@ const PhotoFrame = ({
|
|||
.map((item, index) => ({
|
||||
...item,
|
||||
dataIndex: index,
|
||||
w: window.innerWidth,
|
||||
h: window.innerHeight,
|
||||
...(item.deleteBy && {
|
||||
title: constants.AUTOMATIC_BIN_DELETE_MESSAGE(
|
||||
formatDateRelative(item.deleteBy / 1000)
|
||||
|
|
Loading…
Reference in a new issue