Skip to content

Commit

Permalink
console: fix preserving GraphiQL content in local storage
Browse files Browse the repository at this point in the history
GITHUB_PR_NUMBER: 6533
GITHUB_PR_URL: hasura#6533

Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: 36bfa0b
  • Loading branch information
hasura-bot and iykekings committed Feb 18, 2021
1 parent 77b3bb5 commit b274d7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion console/src/components/Services/ApiExplorer/ApiExplorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Helmet from 'react-helmet';
import ApiRequestWrapper from './ApiRequestWrapper';

import globals from '../../../Globals';
import { getTables } from '../../../metadata/selector';

/*
import ApiCollectionPanel from './ApiCollectionPanel';
Expand Down Expand Up @@ -120,7 +121,7 @@ const generatedApiExplorer = connect => {
credentials: {},
dataApiExplorerData: { ...state.dataApiExplorer },
dataHeaders: state.tables.dataHeaders,
tables: state.tables.allSchemas,
tables: getTables(state),
serverConfig: state.main.serverConfig ? state.main.serverConfig.data : {},
};
};
Expand Down

0 comments on commit b274d7a

Please sign in to comment.