diff --git a/web/components/issues/issue-layouts/properties/assignee.tsx b/web/components/issues/issue-layouts/properties/assignee.tsx index 5e89021ad..ee545f3a5 100644 --- a/web/components/issues/issue-layouts/properties/assignee.tsx +++ b/web/components/issues/issue-layouts/properties/assignee.tsx @@ -21,6 +21,7 @@ export interface IIssuePropertyAssignee { optionsClassName?: string; placement?: Placement; multiple?: true; + noLabelBorder?: boolean; } export const IssuePropertyAssignee: React.FC = observer((props) => { @@ -36,6 +37,7 @@ export const IssuePropertyAssignee: React.FC = observer( optionsClassName, placement, multiple = false, + noLabelBorder = false, } = props; const { workspace: workspaceStore, project: projectStore } = useMobxStore(); @@ -91,8 +93,9 @@ export const IssuePropertyAssignee: React.FC = observer( ) : ( diff --git a/web/components/issues/issue-layouts/properties/labels.tsx b/web/components/issues/issue-layouts/properties/labels.tsx index 3caa4d779..d9c9d3826 100644 --- a/web/components/issues/issue-layouts/properties/labels.tsx +++ b/web/components/issues/issue-layouts/properties/labels.tsx @@ -25,6 +25,7 @@ export interface IIssuePropertyLabels { optionsClassName?: string; placement?: Placement; maxRender?: number; + noLabelBorder?: boolean; } export const IssuePropertyLabels: React.FC = observer((props) => { @@ -40,6 +41,7 @@ export const IssuePropertyLabels: React.FC = observer((pro optionsClassName, placement, maxRender = 2, + noLabelBorder = false, } = props; const { workspace: workspaceStore, project: projectStore }: RootStore = useMobxStore(); @@ -149,7 +151,11 @@ export const IssuePropertyLabels: React.FC = observer((pro ) ) : ( -
+
Select labels
)} diff --git a/web/components/issues/issue-layouts/properties/state.tsx b/web/components/issues/issue-layouts/properties/state.tsx index ea23ccfcc..35fea87ae 100644 --- a/web/components/issues/issue-layouts/properties/state.tsx +++ b/web/components/issues/issue-layouts/properties/state.tsx @@ -35,9 +35,9 @@ export const IssuePropertyState: React.FC = observer((props onChange, disabled, hideDropdownArrow = false, - className, - buttonClassName, - optionsClassName, + className = "", + buttonClassName = "", + optionsClassName = "", placement, } = props; @@ -110,7 +110,7 @@ export const IssuePropertyState: React.FC = observer((props