Skip to content

Commit

Permalink
Merge branch 'feature/shibui-1740' into feature/shibui-1740-selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Smith committed Jul 29, 2021
2 parents f7b0a11 + 8c67d2f commit b7eda0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ui/src/app/metadata/hoc/MetadataSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export function MetadataSchema({ type, children, wizard = false }) {

const definition = React.useMemo(() => wizard ? getWizard(type) : getDefinition(type), [type, wizard]);

const { get, response } = useFetch(``, {}, []);
const { get, response } = useFetch(``, {
cachePolicy: 'no-cache'
});

const [schema, setSchema] = React.useState();

Expand Down
3 changes: 2 additions & 1 deletion ui/src/app/metadata/hooks/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export const xmlRequestInterceptor = ({ options }) => {
export function useMetadataEntityXml(type = 'source', opts = {
interceptors: {
request: xmlRequestInterceptor
}
},
cachePolicy: 'no-cache'
}) {
return useFetch(`${API_BASE_PATH}${getMetadataPath(type)}`, opts);
}
Expand Down

0 comments on commit b7eda0b

Please sign in to comment.