added search term ability in PublicChannels component

This commit is contained in:
unknown 2021-08-08 14:45:21 +05:30
parent 6586f933ff
commit e1a0acdf4a
4 changed files with 22 additions and 10 deletions

View file

@ -27,9 +27,10 @@ function openInviteList() {
});
}
function openPublicChannels() {
function openPublicChannels(searchTerm) {
appDispatcher.dispatch({
type: cons.actions.navigation.OPEN_PUBLIC_CHANNELS,
searchTerm,
});
}