From fe39f94dfa85bd13abbf678839a5c8a2de39b3a3 Mon Sep 17 00:00:00 2001 From: zhichao-aws Date: Mon, 26 Jun 2023 15:51:56 +0800 Subject: [PATCH] remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws --- .../workspace_dropdown_list/workspace_dropdown_list.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx b/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx index cd9e7b829d69..ce1b8a6053d5 100644 --- a/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx +++ b/src/plugins/workspace/public/containers/workspace_dropdown_list/workspace_dropdown_list.tsx @@ -90,7 +90,12 @@ export function WorkspaceDropdownList(props: WorkspaceDropdownListProps) { selectedOptions={currentWorkspaceOption} singleSelection={{ asPlainText: true }} onSearchChange={onSearchChange} - append={Create workspace} + isClearable={false} + append={ + + Create workspace + + } /> );