@@ -263,8 +267,12 @@ export default {
if ('tags' in this.resource) {
this.tags = this.resource.tags
}
- this.getTags()
- this.getNotes()
+ if (this.resourceType) {
+ this.getTags()
+ }
+ if (this.annotationType) {
+ this.getNotes()
+ }
}
},
methods: {