Temporarily disabling some Find Bar functionalities
This commit is contained in:
parent
21073f3f15
commit
db58c1216b
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
.suggestions {
|
.suggestions {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
width: 50%;
|
width: 100%;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -326,9 +326,6 @@ class FindBar extends Component {
|
|||||||
<div className={styles.suggestions}>
|
<div className={styles.suggestions}>
|
||||||
{commands}
|
{commands}
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.history}>
|
|
||||||
Your past searches and commands
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -106,14 +106,14 @@ class App extends React.Component {
|
|||||||
|
|
||||||
if (defaultCommands.length < 5) defaultCommands.push(`show_${ collection.get('name') }`);
|
if (defaultCommands.length < 5) defaultCommands.push(`show_${ collection.get('name') }`);
|
||||||
|
|
||||||
if (collection.get('create') === true) {
|
// if (collection.get('create') === true) {
|
||||||
commands.push({
|
// commands.push({
|
||||||
id: `create_${ collection.get('name') }`,
|
// id: `create_${ collection.get('name') }`,
|
||||||
pattern: `Create new ${ pluralize(collection.get('label'), 1) }(:itemName as ${ pluralize(collection.get('label'), 1) } Name)`,
|
// pattern: `Create new ${ pluralize(collection.get('label'), 1) }(:itemName as ${ pluralize(collection.get('label'), 1) } Name)`,
|
||||||
type: CREATE_COLLECTION,
|
// type: CREATE_COLLECTION,
|
||||||
payload: { collectionName: collection.get('name') },
|
// payload: { collectionName: collection.get('name') },
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
commands.push({ id: HELP, type: HELP, pattern: 'Help' });
|
commands.push({ id: HELP, type: HELP, pattern: 'Help' });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user