diff --git a/src/components/batch/BatchIngest.vue b/src/components/batch/BatchIngest.vue index 419e9a7..f84a0b5 100644 --- a/src/components/batch/BatchIngest.vue +++ b/src/components/batch/BatchIngest.vue @@ -74,9 +74,7 @@ v-bind="filename" type="file" class="form-control-file btn btn-light btn-lg" - id="exampleFormControlFile1" ref="inputFile" - value="Upload batch manifest" :disabled="inProgress || unitName.length === 0" accept=".csv" @change=" diff --git a/src/components/entity/EntityList.vue b/src/components/entity/EntityList.vue index c66c07e..cbd72eb 100644 --- a/src/components/entity/EntityList.vue +++ b/src/components/entity/EntityList.vue @@ -972,30 +972,30 @@ export default { configProperties: sync("configProperties"), baseUrl() { const self = this; - if (window.location.hash.toLowerCase().indexOf("unit") > -1) { + if (window.location.href.toLowerCase().indexOf("unit") > -1) { return "unit"; - } else if (window.location.hash.toLowerCase().indexOf("file") > -1) { + } else if (window.location.href.toLowerCase().indexOf("file") > -1) { return "file"; } else if ( - window.location.hash.toLowerCase().indexOf("collection") > -1 && - window.location.hash.toLowerCase().indexOf("item") === -1 + window.location.href.toLowerCase().indexOf("collection") > -1 && + window.location.href.toLowerCase().indexOf("item") === -1 ) { this.getItemsConfig(); return "collection"; - } else if (window.location.hash.toLowerCase().indexOf("item") > -1) { + } else if (window.location.href.toLowerCase().indexOf("item") > -1) { return "item"; } return ""; }, purpose() { - return window.location.hash.toLowerCase().indexOf("details") > -1 + return window.location.href.toLowerCase().indexOf("details") > -1 ? "details" : ""; }, isCreatePage() { return ( - window.location.hash.toLowerCase().indexOf("create") > -1 || - window.location.hash.toLowerCase().indexOf("add-item") > -1 + window.location.href.toLowerCase().indexOf("create") > -1 || + window.location.href.toLowerCase().indexOf("add-item") > -1 ); }, listOfTaskManager() { diff --git a/src/components/entity/ItemFiles.vue b/src/components/entity/ItemFiles.vue index 8c1aa11..a1a5d38 100644 --- a/src/components/entity/ItemFiles.vue +++ b/src/components/entity/ItemFiles.vue @@ -104,12 +104,9 @@ >
- @@ -180,7 +177,7 @@ export default { selectedFile: sync("selectedFile"), accessControl: sync("accessControl"), isCreatePage() { - return window.location.hash.toLowerCase().indexOf("add-item") > -1; + return window.location.href.toLowerCase().indexOf("add-item") > -1; }, }, methods: { diff --git a/src/components/evaluation/GroundTruthModal.vue b/src/components/evaluation/GroundTruthModal.vue index 66f2559..0b6c952 100644 --- a/src/components/evaluation/GroundTruthModal.vue +++ b/src/components/evaluation/GroundTruthModal.vue @@ -141,8 +141,6 @@ type="file" :accept="'.' + mstDetails.groundtruthFormat" class="form-control-file btn btn-light btn" - id="exampleFormControlFile1" - value="Upload" ref="fileupload" @change="getFile" :disabled="uploadGtFiles.length > 0" diff --git a/src/components/supplement/SupplementFile.vue b/src/components/supplement/SupplementFile.vue index 400550c..f5ae07f 100644 --- a/src/components/supplement/SupplementFile.vue +++ b/src/components/supplement/SupplementFile.vue @@ -13,8 +13,6 @@ diff --git a/src/components/supplement/SupplementList.vue b/src/components/supplement/SupplementList.vue index 3343ab8..ebc1c08 100644 --- a/src/components/supplement/SupplementList.vue +++ b/src/components/supplement/SupplementList.vue @@ -145,11 +145,11 @@ export default { baseUrl() { const self = this; if ( - window.location.hash.toLowerCase().indexOf("supplemental-files/") > -1 + window.location.href.toLowerCase().indexOf("supplemental-files/") > -1 ) { return "supplement"; } else if ( - window.location.hash.toLowerCase().indexOf("supplemental-files") > -1 + window.location.href.toLowerCase().indexOf("supplemental-files") > -1 ) { return "list-supplement"; } diff --git a/src/components/workflow/SelectWorkflow.vue b/src/components/workflow/SelectWorkflow.vue index 6d1b91e..e8740ed 100644 --- a/src/components/workflow/SelectWorkflow.vue +++ b/src/components/workflow/SelectWorkflow.vue @@ -288,17 +288,14 @@