Skip to content

Commit

Permalink
White spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Aug 23, 2024
1 parent 548d33b commit ea8ad32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/FormDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,27 +103,27 @@ export default {
console.log('Form: Get form data')
let shapeData = []
let result = ""
if (this.is_class) {
result = await this.store.sendQuery({query: await getShapeQuery4Target(this.resource_iri)})
} else {
result = await this.store.sendQuery({query: await getShapeQuery4Instance(this.resource_iri)})
}
if (result.resultType === 'quads') {
const quadStream = await result.execute()
shapeData = await quadStream.toArray()
}
let shapeTurtle = ""
let dataTurtle = ""
if (shapeData.length < 1) {
console.log('Form: Use default shape')
shapeTurtle = defaultShape
} else {
console.log('Form: Use found shape')
let data_string = ""
if (this.is_class == false) {
let instance_data = await this.getResource()
dataTurtle = instance_data.replaceAll("\"", "'")
Expand Down Expand Up @@ -160,4 +160,4 @@ export default {
}
}
</script>
</script>

0 comments on commit ea8ad32

Please sign in to comment.