diff --git a/src/components/dashboard/DashboardTable.vue b/src/components/dashboard/DashboardTable.vue index a8603215..63985f1d 100644 --- a/src/components/dashboard/DashboardTable.vue +++ b/src/components/dashboard/DashboardTable.vue @@ -130,16 +130,15 @@ {{ rec.externalId }} {{ rec.itemName }} - + {{ rec.primaryfileName }} - - - {{ rec.primaryfileName }} + >{{ rec.primaryfileName }} + + {{ rec.primaryfileName }} {{ rec.workflowName }} @@ -147,41 +146,29 @@ {{ rec.workflowStep }} - - + {{ rec.outputName }} - - - {{ rec.outputName }} - - - {{ rec.outputName }} + >{{ rec.outputName }} + + {{ rec.outputName }} + + {{ rec.outputName }} - - + {{ rec.outputLabel }} - - - {{ rec.outputLabel }} - - - {{ rec.outputLabel }} + >{{ rec.outputLabel }} + + {{ rec.outputLabel }} + + {{ rec.outputLabel }} {{ rec.groundTruth }} diff --git a/src/components/entity/EntityList.vue b/src/components/entity/EntityList.vue index b373a8db..4c56cc99 100644 --- a/src/components/entity/EntityList.vue +++ b/src/components/entity/EntityList.vue @@ -1360,7 +1360,6 @@ export default { self.showEdit = false; } } else if (self.baseUrl === "file") { - console.log("start loading file: showLoader = " + self.showLoader); self.showLoader = true; self.entity = self.selectedFile; if (self.accessControl._primaryfile_media._read) { @@ -1375,9 +1374,8 @@ export default { ); self.entity["mediaInfo"] = mediaSourceType.mediaInfo; self.entity["mediaType"] = mediaSourceType.mimeType.substring(0, 5); - console.log("mediaType = " + self.entity.mediaType); + // console.log("mediaType = " + self.entity.mediaType); self.showLoader = false; - console.log("end loading file: showLoader = " + self.showLoader); } }, async getUnitCollections() { @@ -1516,8 +1514,8 @@ export default { formHTML.style.width = "100%"; } - console.log("end of mounted: mediaSource = " + self.entity.mediaSource); - console.log("end of mounted: mediaType = " + self.entity.mediaType); + // console.log("end of mounted: mediaSource = " + self.entity.mediaSource); + // console.log("end of mounted: mediaType = " + self.entity.mediaType); }, }; diff --git a/src/components/entity/OutputFile.vue b/src/components/entity/OutputFile.vue index 0c2be244..a5c0650d 100644 --- a/src/components/entity/OutputFile.vue +++ b/src/components/entity/OutputFile.vue @@ -34,53 +34,27 @@ -

{{ new Date(output.dateCreated) | LOCAL_DATE_VALUE }}

- {{ output.submitter }} - {{ output.workflowName }} - - {{ output.workflowStep }} - {{ output.outputName }} @@ -189,6 +163,7 @@ export default { }, mounted() { this.getOutputFileList(); + console.log("accessControl._workflowresult_output._read = " + this.accessControl._workflowresult_output._read); }, }; diff --git a/src/components/evaluation/TestResultsVisualiz.vue b/src/components/evaluation/TestResultsVisualiz.vue index 6b99a967..eb100431 100644 --- a/src/components/evaluation/TestResultsVisualiz.vue +++ b/src/components/evaluation/TestResultsVisualiz.vue @@ -61,7 +61,7 @@ @click="workflowResultService.getSymlinkContent(testResult.workflowResult, true, null, $event)" target="_blank" >{{ - testResult.workflowResult.workflowStep + testResult.workflowResult.outputName }}) diff --git a/src/service/access-control-service.js b/src/service/access-control-service.js index e9ea7324..f83897e1 100644 --- a/src/service/access-control-service.js +++ b/src/service/access-control-service.js @@ -185,8 +185,7 @@ export default class AccessControlService extends BaseService { break; } } else if ( - action.targetType === - env.getEnv("VUE_APP_AC_TARGETTYPE_PRIMARYFILE") + action.targetType === env.getEnv("VUE_APP_AC_TARGETTYPE_PRIMARYFILE") ) { switch (action.actionType) { case env.getEnv("VUE_APP_AC_ACTIONTYPE_CREATE"): diff --git a/src/service/account-service.js b/src/service/account-service.js index d3217bb3..f36ba2ba 100644 --- a/src/service/account-service.js +++ b/src/service/account-service.js @@ -66,7 +66,6 @@ function sendActivateUserRequest(userToken) { } function login(username, password) { - console.log("login"); return baseService.post(`/account/authenticate`, { username, password }) .then(response => { const { token, user } = response.data; @@ -93,7 +92,7 @@ async function validate() { console.log("IN ERROR"); return false; }); - console.log("Success: " + success); + console.log("User authenticated: " + success); return success; } diff --git a/src/service/hmgm-service.js b/src/service/hmgm-service.js index 5581da9a..eb0e5d44 100644 --- a/src/service/hmgm-service.js +++ b/src/service/hmgm-service.js @@ -26,8 +26,10 @@ async function auth_token_required(auth_string, input_file){ async function auth_token_valid(auth_string, input_file, user_token){ if(env.getDisableAuth() == 'true'){ + console.log("Authenticated disabled: " + success); return true; } + // TODO the following API call to check auth string might be unnecessary, // because the backend validate auth string upon any HMGM API call; // the purpose here might be to prevent the page from being shown beore any HMGM API call is made @@ -43,8 +45,8 @@ async function auth_token_valid(auth_string, input_file, user_token){ console.log("Error: " + e); return false; }); - console.log("Success: " + success); + console.log("User authenticated for HMGM editor: " + success); return success; }