Skip to content

Commit

Permalink
go to collection viewer instead of pitfalls table
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Sep 5, 2023
1 parent c3a2b63 commit 5abd8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/labeling/pitfalls.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async function initialize() {
// direct user away if they don't have access
if (getUserInfo().userType == "Participant"){

Check failure on line 179 in apps/labeling/pitfalls.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Strings must use singlequote

Check failure on line 179 in apps/labeling/pitfalls.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Missing space before opening brace
alert("Error: Your user account type, 'Participant', does not have permission to contribute to ROI selection. If you were assigned an ROI selection task and need to change your account type, please contact [email protected].");

Check failure on line 180 in apps/labeling/pitfalls.js

View workflow job for this annotation

GitHub Actions / build (18.x)

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

Check failure on line 180 in apps/labeling/pitfalls.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Strings must use singlequote
window.location = `./pitfallsTable.html?collectionId=${$D.params.collectionId}`;
window.location = "../collection/viewer.html";

Check failure on line 181 in apps/labeling/pitfalls.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Strings must use singlequote
}

// if (!$D.ROI) redirect($D.pages.table, 'There Is No Label Data, Return Home Page.', 0);
Expand Down

0 comments on commit 5abd8eb

Please sign in to comment.