Skip to content

Commit

Permalink
length not len
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Jul 9, 2024
1 parent 7e05888 commit 64502b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/labeling/labelingSimpleAnnotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,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){
alert("You've already done this label.")
window.location.href = `./roi_pick.html?slideId=${$D.params.slideId}&collectionId=${$D.params.collectionId}`;
Expand Down

0 comments on commit 64502b3

Please sign in to comment.