Skip to content

Commit

Permalink
refactor: Remove already implied type triple
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Oct 19, 2023
1 parent f51f1d8 commit 2448640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FormRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ export default {
let data = subject ? `<${subject}> a <${this.formTargetClass}> .\n` : '';
if (generatedBy && subject) {
data += `<${subject}> a <http://www.w3.org/ns/prov#Entity>; <http://www.w3.org/ns/prov#wasGeneratedBy> <${generatedBy}> .\n`;
data += `<${subject}> <http://www.w3.org/ns/prov#wasGeneratedBy> <${generatedBy}> .\n`;
}
for (const field of fields) {
Expand Down Expand Up @@ -634,7 +634,7 @@ export default {
}
}
}
dataToDelete = [...subjects].map(subject => `<${subject}> a <${this.formTargetClass}>; a <http://www.w3.org/ns/prov#Entity>; <http://www.w3.org/ns/prov#wasGeneratedBy> <${this.formUrl}> .`).join('\n') + '\n' + dataToDelete;
dataToDelete = [...subjects].map(subject => `<${subject}> a <${this.formTargetClass}>; <http://www.w3.org/ns/prov#wasGeneratedBy> <${this.formUrl}> .`).join('\n') + '\n' + dataToDelete;
body += `;
solid:deletes {
Expand Down

0 comments on commit 2448640

Please sign in to comment.