change: use 'file' icon for files in search suggestions
This commit is contained in:
parent
82e041c197
commit
919bd4c934
2 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,7 @@ class WunderBar extends React.PureComponent<Props> {
|
||||||
getSuggestionIcon = (type: string) => {
|
getSuggestionIcon = (type: string) => {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'file':
|
case 'file':
|
||||||
return ICONS.LOCAL;
|
return ICONS.FILE;
|
||||||
case 'channel':
|
case 'channel':
|
||||||
return ICONS.CHANNEL;
|
return ICONS.CHANNEL;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -39,3 +39,4 @@ export const TWITTER = 'Twitter';
|
||||||
export const WALLET = 'CreditCard';
|
export const WALLET = 'CreditCard';
|
||||||
export const SETTINGS = 'Settings';
|
export const SETTINGS = 'Settings';
|
||||||
export const INVITE = 'Users';
|
export const INVITE = 'Users';
|
||||||
|
export const FILE = 'File';
|
||||||
|
|
Loading…
Reference in a new issue