Public: fix mobile drawer mode on topic pages
This commit is contained in:
parent
bb68d36641
commit
ccb13f3e38
|
|
@ -115,7 +115,7 @@ $photos = ($activeSectionId > 0 || $activeTopicId > 0)
|
|||
? photosForPublic($filterMode === 'section' ? $activeSectionId : null, $filterMode === 'topic' ? $activeTopicId : null)
|
||||
: [];
|
||||
$photoCommentCounts = photoCommentCountsByPhotoIds(array_map(static fn(array $p): int => (int)$p['id'], $photos));
|
||||
$isHomePage = $activeSectionId < 1 && $activePhotoId < 1;
|
||||
$isHomePage = $activeSectionId < 1 && $activePhotoId < 1 && $activeTopicId < 1;
|
||||
$isTopicMode = $filterMode === 'topic';
|
||||
$isSectionMode = $filterMode === 'section';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user