Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
kovipu committed Apr 21, 2024
2 parents 130e3cf + 415380e commit 3f4d540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ShoutBox/messageformatter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const MessageFormatter = ({
<NameFormatter telegram={telegram} name={name} timestamp={timestamp} />
<div className="break-words text-sm">{message}</div>
</div>
{isAdmin && name !== 'Toimitus' && name !== 'Palvelin' && (
{isAdmin && name !== 'Toimitus' && name !== 'Palvelin' && !telegram && (
<button
className="m-1 inline-block cursor-pointer select-none rounded border-[1px] border-white bg-transparent px-3 py-1.5 text-center align-middle text-base font-bold text-coral"
onClick={() => onBanClick(name)}
Expand Down

0 comments on commit 3f4d540

Please sign in to comment.