Fix Bug 57407 - Client.OformsGallery. Something went wrong when template info opened

This commit is contained in:
Timofey Boyko 2022-05-31 13:24:21 +03:00
parent ce0fca842b
commit 55515ded68
2 changed files with 6 additions and 2 deletions

View File

@ -56,7 +56,7 @@ const SingleItem = (props) => {
<div className="property"> <div className="property">
<Text className="property-title">{t("Home:ByLastModifiedDate")}</Text> <Text className="property-title">{t("Home:ByLastModifiedDate")}</Text>
<Text className="property-content"> <Text className="property-content">
{parseAndFormatDate(selectedItem.updatedAt)} {parseAndFormatDate(selectedItem.attributes.updatedAt)}
</Text> </Text>
</div> </div>
<div className="property"> <div className="property">

View File

@ -69,7 +69,11 @@ const InfoPanelBodyContent = ({
<GalleryEmptyScreen /> <GalleryEmptyScreen />
) : ( ) : (
<StyledInfoRoomBody> <StyledInfoRoomBody>
<GalleryItem selectedItem={gallerySelected} /> <GalleryItem
selectedItem={gallerySelected}
personal={personal}
culture={culture}
/>
</StyledInfoRoomBody> </StyledInfoRoomBody>
) )
) : ( ) : (