Skip to content

Commit

Permalink
Update Image.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-ha authored Jan 14, 2022
1 parent d40277d commit 320ada8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ module.exports = {
saveAnnotations() {
this.annotations = this.annotator.getAnnotations()
// console.log('saveAnnotations', this.annotations)
this.putFile(`${this.mdDir}${this.currentItemSourceHash}.json`, JSON.stringify(this.annotations, null, 2))
this.putFile(`${this.mdDir}/${this.currentItemSourceHash}.json`, JSON.stringify(this.annotations, null, 2))
},
annotationSelected(anno) {
// console.log('annotationSelected', anno)
Expand Down

1 comment on commit 320ada8

@julia-ha
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix saveAnnotation file path

Please sign in to comment.