fix(ui): logic on waypoint layer component caused 0 to be shown in UI (#896)
* fix(ui): logic on waypoint layer component caused 0 to be shown in UI * Update packages/web/src/components/PageComponents/Map/Popups/WaypointDetail.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -172,7 +172,7 @@ export const WaypointDetail = ({ waypoint, myNode }: WaypointDetailProps) => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Locked To */}
|
{/* Locked To */}
|
||||||
{waypoint.lockedTo && (
|
{waypoint.lockedTo != null && waypoint.lockedTo !== 0 && (
|
||||||
<div className="flex flex-wrap items-start gap-x-3">
|
<div className="flex flex-wrap items-start gap-x-3">
|
||||||
<dt className="inline-flex items-center gap-2 text-slate-500 min-w-0">
|
<dt className="inline-flex items-center gap-2 text-slate-500 min-w-0">
|
||||||
<UserLockIcon size={14} aria-hidden />
|
<UserLockIcon size={14} aria-hidden />
|
||||||
|
|||||||
Reference in New Issue
Block a user