From b29e4f4f054d42a28add51f7b376ddc34b415164 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 14 Jan 2023 01:43:29 +0100 Subject: [PATCH] fixed a bug where accounts with no pbs would cause misplaced "show all pbs" button --- frontend/src/ts/account/pb-tables.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/ts/account/pb-tables.ts b/frontend/src/ts/account/pb-tables.ts index b5c4c3b39..c36bd5c8d 100644 --- a/frontend/src/ts/account/pb-tables.ts +++ b/frontend/src/ts/account/pb-tables.ts @@ -5,13 +5,13 @@ import * as Misc from "../utils/misc"; function clearTables(isProfile: boolean): void { const source = isProfile ? "Profile" : "Account"; - const showAllButton = `
-
`; +
`; const htmlToShow = isProfile ? "" : showAllButton;