Skip to content

Commit

Permalink
Correctly call shouldDisplayUpdateFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhanson committed Jul 1, 2023
1 parent 199710b commit 2e3299c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function Navbar() {
<div className="flex-none">
<div className="dropdown dropdown-end">
<div className="indicator">
{shouldDisplayUpdateBadge && (
{shouldDisplayUpdateBadge() && (
<div className="badge badge-secondary badge-xs indicator-item mt-1 mr-1"></div>
)}
<label tabIndex="0" className="btn btn-square btn-ghost">
Expand Down

0 comments on commit 2e3299c

Please sign in to comment.