Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-1974 (pull request #492)
Browse files Browse the repository at this point in the history
Fixed issue with loading sources
  • Loading branch information
rmathis committed Jun 23, 2021
2 parents 4ca2119 + dd441c5 commit 21e875f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/dashboard/view/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function Dashboard () {
}

async function loadSources() {
const s = sourceLoader.get();
const s = await sourceLoader.get();
if (response.ok) {
setSources(s);
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/hooks/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getMetadataPath(type) {
}

export function useNonAdminSources() {
return useFetch(`/${getMetadataPath('source')}/disabledNonAdmin`);
return useFetch(`${API_BASE_PATH}${getMetadataPath('source')}/disabledNonAdmin`);
}

export function getMetadataListPath(type) {
Expand Down

0 comments on commit 21e875f

Please sign in to comment.