Skip to content

Commit

Permalink
fix: show baan's line on announce time
Browse files Browse the repository at this point in the history
  • Loading branch information
TeeGoood committed Jul 28, 2024
1 parent 3fb0eaf commit 05ae359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/rpkm/Sidebar/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function UserInfo() {
{isShowBaan &&
baanInfos.find((baan) => baan.name.en == user?.baan)?.name.th}
</h1>
{baan?.line ? (
{isShowBaan && baan?.line ? (
<div className="flex flex-col justify-center items-center w-full">
<div className="flex justify-center text-xs font-semibold text-center text-black items-center w-full gap-1">
<Image
Expand Down

0 comments on commit 05ae359

Please sign in to comment.