[Fleet] Fix agent logs not reading query from URL (#117286) (#117565)

* Don't use hash for agent logs url state

* revert core app services change

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
This commit is contained in:
Kibana Machine 2021-11-04 15:04:03 -04:00 committed by GitHub
parent c24b8a6bf0
commit 5b6d3c5cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>,