Skip to content

Commit

Permalink
do not show priority text on small screens #69
Browse files Browse the repository at this point in the history
  • Loading branch information
blahosyl committed Aug 12, 2024
1 parent 6cee272 commit 6ea0c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/tasks/Task.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ const Task = (props) => {
: "no status defined"}
</span>
}
{/* Show priority in a human readable format.
{/* Show priority in a human readable format on large screens.
Even though status` is a str, === only works if this is
explicitely specified, and == produces a warning*/}
<span className={`mt-1`}>
<span className={`mt-1 d-none d-lg-inline`}>
{priority === String("LOW")
? "Low Priority"
: priority === String("MED")
Expand Down

0 comments on commit 6ea0c72

Please sign in to comment.