forked from github/plane
fix: label mutation in peek-overview & issue detail (#3942)
This commit is contained in:
parent
730e556bea
commit
443b93f897
@ -1,4 +1,5 @@
|
||||
import { FC } from "react";
|
||||
import { observer } from "mobx-react";
|
||||
// components
|
||||
import { useIssueDetail } from "hooks/store";
|
||||
import { LabelListItem } from "./label-list-item";
|
||||
@ -14,7 +15,7 @@ type TLabelList = {
|
||||
disabled: boolean;
|
||||
};
|
||||
|
||||
export const LabelList: FC<TLabelList> = (props) => {
|
||||
export const LabelList: FC<TLabelList> = observer((props) => {
|
||||
const { workspaceSlug, projectId, issueId, labelOperations, disabled } = props;
|
||||
// hooks
|
||||
const {
|
||||
@ -40,4 +41,4 @@ export const LabelList: FC<TLabelList> = (props) => {
|
||||
))}
|
||||
</>
|
||||
);
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user