Disable search keyboard shortcuts when main header isn't shown
This commit is contained in:
parent
011bdd2ae3
commit
eb203ba929
10 changed files with 166 additions and 70 deletions
|
@ -33,6 +33,7 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
|
|||
'searchConversationId',
|
||||
overrideProps.searchConversationId
|
||||
),
|
||||
selectedConversation: undefined,
|
||||
startSearchCounter: 0,
|
||||
|
||||
ourConversationId: '',
|
||||
|
@ -46,10 +47,12 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
|
|||
avatarPath: optionalText('avatarPath', overrideProps.avatarPath),
|
||||
|
||||
i18n,
|
||||
|
||||
updateSearchTerm: action('updateSearchTerm'),
|
||||
searchMessages: action('searchMessages'),
|
||||
searchDiscussions: action('searchDiscussions'),
|
||||
|
||||
startSearch: action('startSearch'),
|
||||
searchInConversation: action('searchInConversation'),
|
||||
clearConversationSearch: action('clearConversationSearch'),
|
||||
clearSearch: action('clearSearch'),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue