From 6af1270727cb20a64d001a7562cb14615dedbb01 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 12 Dec 2024 09:59:32 +0100 Subject: [PATCH] Prevent filter summary layout shift --- .../video-filters-header.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html index 208777ffb..81d44173c 100644 --- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html +++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html @@ -12,8 +12,8 @@
-
- @if (filters.scope === 'local') { +
+ @if (filters.scope === 'local' || totalFollowing === 0) { Videos on {{ instanceName }} } @else { Videos on {{ instanceName }} and {{ totalFollowing }} other platforms