Skip to content

Commit

Permalink
Merge pull request #193 from isd-sgcu/tee/show-baan-line-in-annouce-time
Browse files Browse the repository at this point in the history
fix: show baan's line on announce time
  • Loading branch information
TeeGoood authored Jul 28, 2024
2 parents 3fb0eaf + 05ae359 commit fd07e5f
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 fd07e5f

Please sign in to comment.