We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5c7a7 commit d7979b0Copy full SHA for d7979b0
resources/assets/js/videos/models/Annotation.vue
@@ -16,7 +16,7 @@ export default class Annotation {
16
this.shape_id = args.shape_id;
17
this.created_at = args.created_at;
18
this.updated_at = args.updated_at;
19
- this.labels = args.labels;
+ this._labels = ref(args.labels);
20
21
this._pending = ref(args.pending || false);
22
this._selected = ref(false);
@@ -56,6 +56,14 @@ export default class Annotation {
56
this._tracking.value = value;
57
}
58
59
+ get labels() {
60
+ return this._labels.value;
61
+ }
62
+
63
+ set labels(value) {
64
+ this._labels.value = value;
65
66
67
get frames() {
68
return this._frames.value;
69
0 commit comments