Skip to content

Commit

Permalink
[Fleet] Fix agent logs not reading query from URL (elastic#117286)
Browse files Browse the repository at this point in the history
* Don't use hash for agent logs url state

* revert core app services change
  • Loading branch information
hop-dev authored and kibanamachine committed Nov 4, 2021
1 parent e00691a commit fd67eac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const AgentLogs: React.FunctionComponent<Pick<AgentLogsProps, 'agent' | '
const [isSyncReady, setIsSyncReady] = useState<boolean>(false);

useEffect(() => {
const stateStorage = createKbnUrlStateStorage();
const stateStorage = createKbnUrlStateStorage({ useHashQuery: false, useHash: false });
const { start, stop } = syncState({
storageKey: STATE_STORAGE_KEY,
stateContainer: stateContainer as INullableBaseStateContainer<AgentLogsState>,
Expand Down

0 comments on commit fd67eac

Please sign in to comment.