Skip to content

Commit

Permalink
reset attachment state on cot id change
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Aug 9, 2024
1 parent 13fcfaa commit f4ea532
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/web/src/components/CloudTAK/util/Attachments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ export default {
this.loading = true;
if (this.attachments.length) {
await this.fetchMetadata();
} else {
this.files = [];
}
this.loading = false;
Expand Down

0 comments on commit f4ea532

Please sign in to comment.