File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -538,6 +538,7 @@ const ContentManagerToolbar = ({
538538 : [ ]
539539 }
540540 readOnly = { selectedDocsAreUpdating }
541+ showIconPath = { true }
541542 popupAlignment = 'top-left'
542543 update = { ( val : string [ ] ) => {
543544 updateProp ( [
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ interface AssigneeSelectProps {
1616 update : ( value : string [ ] ) => void
1717 isLoading : boolean
1818 readOnly : boolean
19+ showIconPath ?: boolean
1920 emptyLabel ?: string
2021 popupAlignment ?: 'bottom-left' | 'top-left'
2122}
@@ -24,6 +25,7 @@ const AssigneeSelect = ({
2425 disabled = false ,
2526 defaultValue,
2627 isLoading,
28+ showIconPath,
2729 emptyLabel,
2830 readOnly,
2931 update,
@@ -65,7 +67,9 @@ const AssigneeSelect = ({
6567 empty = { defaultValue . length === 0 && emptyLabel == null }
6668 isReadOnly = { readOnly }
6769 iconPath = {
68- defaultValue . length === 0 ? mdiAccountCircleOutline : undefined
70+ showIconPath || defaultValue . length === 0
71+ ? mdiAccountCircleOutline
72+ : undefined
6973 }
7074 onClick = { ( e ) =>
7175 openContextModal (
You can’t perform that action at this time.
0 commit comments