Skip to content

Commit

Permalink
Merge pull request #138 from biigle/patch-1
Browse files Browse the repository at this point in the history
Fix error message if training proposal feature vectors are pending
  • Loading branch information
mzur authored Oct 20, 2023
2 parents 04af017 + ee75594 commit b9fcb27
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/public/assets/scripts/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"/assets/scripts/main.js": "/assets/scripts/main.js?id=31c5246aff0d21b65b9891658d0fa065",
"/assets/scripts/main.js": "/assets/scripts/main.js?id=882e4a59f9b952276420b7ed2b81d4e1",
"/assets/styles/main.css": "/assets/styles/main.css?id=d9c4dfc8488700b3e69f86ede1183aac"
}
8 changes: 7 additions & 1 deletion src/resources/assets/js/show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,13 @@ export default {
.then((response) => {
this.sortedIdsForReferenceProposal = response.body;
this.referenceProposal = proposal;
}, handleErrorResponse)
}, (response) => {
if (response.status === 404) {
Messages.warning('No sorting information available yet. Please try again later.');
} else {
handleErrorResponse(response);
}
})
.finally(this.finishLoading);
},
selectProposal(proposal) {
Expand Down

0 comments on commit b9fcb27

Please sign in to comment.