Skip to content

Commit 47be61a

Browse files
committed
data upload error
1 parent 782d329 commit 47be61a

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

demonstrator/triple-combined-service.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Datasources: http://localhost:3000/test/Uploads/nbn-chist-era-annex-1-chemicals-alt.ttl
1+
# Datasources: http://localhost:3000/test/random/nbn-chist-era-annex-1-chemicals-custom-predicate.ttl
22
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
33
PREFIX rh: <http://rdf.rhea-db.org/>
44
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

demonstrator/triple-solid-2.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Datasources: http://localhost:3000/test/Uploads/nbn-chist-era-annex-1-chemicals-alt.ttl
1+
# Datasources: http://localhost:3000/test/random/nbn-chist-era-annex-1-chemicals-custom-predicate.ttl
22
PREFIX thd: <urn:triple-hybrid-demo:>
33
SELECT DISTINCT ?CAS WHERE {
44

src/components/PodUpload.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,13 @@ export default {
368368
this.uploadPath = selectedContainer;
369369
},
370370
},
371+
watch: {
372+
selectedPodUrl(newValue, oldValue) {
373+
if (newValue !== oldValue) {
374+
this.uploadPath = this.selectedPodUrl;
375+
}
376+
},
377+
},
371378
mounted() {
372379
// Set initial upload path to the selected Pod URL
373380
if (this.selectedPodUrl !== "") {

src/components/fileUpload.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ export async function alreadyExists(
277277
try {
278278
const containerContents = await getSolidDataset(uploadUrl, { fetch });
279279
const allegedFile = getThing(containerContents, `${uploadUrl}${file.name}`);
280-
// console.log(`The file ${allegedFile.url} already exists...`)
281280
return true;
282281
} catch (e) {
283282
// console.log(`${uploadUrl}${file.name} does not yet exist, uploading now.`)

0 commit comments

Comments
 (0)