Skip to content

Commit

Permalink
actually fix length
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Jul 9, 2024
1 parent f813016 commit dc1e47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/labeling/labelingSimpleAnnotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ async function loadingData() {
// redir user out if they've already done this
$CAMIC.store.findLabelingAnnotation({"parent": labelId, "provenance.image.slide":slideId, "creator": getUserId() } ).then(x=>{

Check failure on line 638 in apps/labeling/labelingSimpleAnnotation.js

View workflow job for this annotation

GitHub Actions / build (16.x)

This line has a length of 128. Maximum allowed is 125

Check failure on line 638 in apps/labeling/labelingSimpleAnnotation.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Strings must use singlequote

Check failure on line 638 in apps/labeling/labelingSimpleAnnotation.js

View workflow job for this annotation

GitHub Actions / build (18.x)

This line has a length of 128. Maximum allowed is 125

Check failure on line 638 in apps/labeling/labelingSimpleAnnotation.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Strings must use singlequote
console.log(x)
if (x.len>0){
if (x.length>0){
alert("You've already done this label.")
window.removeEventListener('beforeunload', beforeUnloadHandler);
window.location.href = `./roi_pick.html?slideId=${$D.params.slideId}&collectionId=${$D.params.collectionId}`;
Expand Down

0 comments on commit dc1e47a

Please sign in to comment.