Skip to content

Commit

Permalink
Fix display prefix options
Browse files Browse the repository at this point in the history
  • Loading branch information
ziulev committed Dec 12, 2021
1 parent 54c71de commit 2a7d3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/spotter/src/providers/events.provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const EventsProvider: FC<{}> = (props) => {
const command: SpotterCommand = {
type: SpotterCommandType.onQuery,
onQueryId: nextSelectedOption.onQueryId,
query: query$.value,
query: '',
};

sendCommand(command, nextSelectedOption.pluginName);
Expand Down Expand Up @@ -253,7 +253,7 @@ export const EventsProvider: FC<{}> = (props) => {

const command: SpotterCommand = {
type: SpotterCommandType.onQuery,
query: nextQuery.replace(`${option.prefix}`, ''),
query: '',
onQueryId: option.onQueryId,
};
sendCommand(command, option.pluginName);
Expand Down

0 comments on commit 2a7d3c7

Please sign in to comment.