Skip to content

Commit

Permalink
fixed the stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SamGodwin2 committed Aug 5, 2019
1 parent 5bfc05c commit 4c6de03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions eq-author/src/App/QuestionnaireDesignPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export const withQuestionnaire = Component => {
questionnaireId: props.match.params.questionnaireId,
},
}}
partialRefetch
fetchPolicy="network-only"
errorPolicy="all"
>
Expand Down
6 changes: 5 additions & 1 deletion eq-author/src/App/page/Design/MovePageModal/MovePageQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import query from "graphql/getQuestionnaire.graphql";
import PropTypes from "prop-types";

const MovePageQuery = ({ questionnaireId, children }) => (
<Query query={query} variables={{ input: { questionnaireId } }}>
<Query
query={query}
partialRefetch
variables={{ input: { questionnaireId } }}
>
{({ loading, data }) => children({ loading, data })}
</Query>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import PropTypes from "prop-types";
const MoveSectionQuery = ({ questionnaireId, children }) => (
<Query
query={query}
partialRefetch
variables={{
input: {
questionnaireId,
Expand Down

0 comments on commit 4c6de03

Please sign in to comment.