mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
fixed a bug where accounts with no pbs would cause misplaced "show all pbs" button
This commit is contained in:
parent
43205d3287
commit
b29e4f4f05
|
@ -5,13 +5,13 @@ import * as Misc from "../utils/misc";
|
|||
function clearTables(isProfile: boolean): void {
|
||||
const source = isProfile ? "Profile" : "Account";
|
||||
|
||||
const showAllButton = `<div
|
||||
const showAllButton = `<div class="buttonGroup"><div
|
||||
class="showAllButton button"
|
||||
data-balloon-pos="left"
|
||||
aria-label="Show all personal bests"
|
||||
>
|
||||
<i class="fas fa-ellipsis-v"></i>
|
||||
</div>`;
|
||||
</div></div>`;
|
||||
|
||||
const htmlToShow = isProfile ? "" : showAllButton;
|
||||
|
||||
|
|
Loading…
Reference in a new issue