Fix: Profile image menu not working

This commit is contained in:
buddh4 2019-10-29 16:56:47 +01:00
parent 2170bf7a1f
commit 023c59b3a6

View File

@ -71,10 +71,10 @@ $profileImageUpload = Upload::withName($imageUploadName, ['url' => $imageUploadU
<?php if ($container->getProfileImage()->hasImage()) : ?>
<a data-ui-gallery="spaceHeader" href="<?= $container->profileImage->getUrl('_org'); ?>">
<?= $container->getProfileImage()->render( 140, ['class' => 'profile-user-photo']); ?>
<?= $container->getProfileImage()->render( 140, ['class' => 'img-profile-header-background profile-user-photo']); ?>
</a>
<?php else : ?>
<?= $container->getProfileImage()->render(140, ['class' => 'profile-user-photo']); ?>
<?= $container->getProfileImage()->render(140, ['class' => 'img-profile-header-background profile-user-photo']); ?>
<?php endif; ?>
<?php if ($canEdit) : ?>