diff --git a/frontend/src/container/LogsSearchFilter/index.tsx b/frontend/src/container/LogsSearchFilter/index.tsx index c8f4a9021e..c7e79b14ca 100644 --- a/frontend/src/container/LogsSearchFilter/index.tsx +++ b/frontend/src/container/LogsSearchFilter/index.tsx @@ -16,7 +16,7 @@ import { getLogs } from 'store/actions/logs/getLogs'; import { getLogsAggregate } from 'store/actions/logs/getLogsAggregate'; import { AppState } from 'store/reducers'; import AppActions from 'types/actions'; -import { TOGGLE_LIVE_TAIL } from 'types/actions/logs'; +import { FLUSH_LOGS, TOGGLE_LIVE_TAIL } from 'types/actions/logs'; import { GlobalReducer } from 'types/reducer/globalTime'; import { ILogsReducer } from 'types/reducer/logs'; @@ -69,6 +69,9 @@ function SearchFilter({ type: TOGGLE_LIVE_TAIL, payload: 'PAUSED', }); + dispatch({ + type: FLUSH_LOGS, + }); setTimeout( () => dispatch({