Skip to content

Commit db0c372

Browse files
committed
show icon path in cm toolbar
1 parent b6bfb4f commit db0c372

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/cloud/components/ContentManager/ContentManagerToolbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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([

src/cloud/components/Props/Pickers/AssigneeSelect.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)