diff --git a/src/components/CommandPalette.jsx b/src/components/CommandPalette.jsx index 8b7bf72..e981060 100644 --- a/src/components/CommandPalette.jsx +++ b/src/components/CommandPalette.jsx @@ -24,13 +24,20 @@ function Row({ item, onClick, isSelected }) { }`} onClick={onClick} > - {item.path ? : null} - {item.name} - {item.path ? ( +
+ {item.path ? : null} + {item.name} + {item.path ? ( + + {getFolder(item.path)} + + ) : null} +
+
- {getFolder(item.path)} + {item.keyboardShortcut ? item.keyboardShortcut : ''} - ) : null} +
); @@ -101,6 +108,7 @@ export class CommandPalette extends Component { closeHandler={this.props.closeHandler} noOverlay hideCloseButton + extraClasses="modal--command-palette" >