remove icon for commands
This commit is contained in:
parent
eee6340879
commit
5cd8042819
@ -7,7 +7,7 @@ import { Icon } from '../components/UI';
|
|||||||
import styles from './FindBar.css';
|
import styles from './FindBar.css';
|
||||||
|
|
||||||
export const SEARCH = 'SEARCH';
|
export const SEARCH = 'SEARCH';
|
||||||
const PLACEHOLDER = 'Type to search or execute commands';
|
const PLACEHOLDER = 'Search or enter a command';
|
||||||
|
|
||||||
class FindBar extends Component {
|
class FindBar extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@ -287,7 +287,7 @@ class FindBar extends Component {
|
|||||||
let children;
|
let children;
|
||||||
if (!command.search) {
|
if (!command.search) {
|
||||||
children = (
|
children = (
|
||||||
<span><Icon type="right-open-mini"/><span dangerouslySetInnerHTML={{__html: command.string}} /></span>
|
<span><span dangerouslySetInnerHTML={{__html: command.string}} /></span>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
children = (
|
children = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user