From 0e1ebff978cd729237d1ef4495cbdb763a6739ed Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 15 Apr 2025 19:42:02 +0530 Subject: [PATCH] [WEB-3871] fix: sidebar label property #6934 --- .../components/issues/issue-detail/label/label-list-item.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/core/components/issues/issue-detail/label/label-list-item.tsx b/web/core/components/issues/issue-detail/label/label-list-item.tsx index 8dbd980c5b..15c00845ed 100644 --- a/web/core/components/issues/issue-detail/label/label-list-item.tsx +++ b/web/core/components/issues/issue-detail/label/label-list-item.tsx @@ -1,4 +1,5 @@ import { FC } from "react"; +import { observer } from "mobx-react"; import { X } from "lucide-react"; // types import { useLabel } from "@/hooks/store"; @@ -14,7 +15,7 @@ type TLabelListItem = { disabled: boolean; }; -export const LabelListItem: FC = (props) => { +export const LabelListItem: FC = observer((props) => { const { workspaceSlug, projectId, issueId, labelId, values, labelOperations, disabled } = props; // hooks const { getLabelById } = useLabel(); @@ -51,4 +52,4 @@ export const LabelListItem: FC = (props) => { )} ); -}; +});