diff --git a/src/components/batch/BatchIngest.vue b/src/components/batch/BatchIngest.vue index 39e6630..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" - :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 @@ >