Commit 7bea0276 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

style: improve var name

parent 0a1df8c1
Pipeline #200727 passed with stages
in 2 minutes and 44 seconds
......@@ -188,7 +188,7 @@ export default {
statusCheck() {
const num = this.hotAnnotations.length;
const active = this.hotAnnotations.filter((a) => a.status === true).length;
const active = this.hotAnnotations.filter((annotation) => annotation.status === true).length;
if (num === active) {
this.selectedAll = false;
this.selectedNone = true;
......@@ -219,7 +219,7 @@ export default {
},
toggleTo(bool) {
this.hotAnnotations.filter((a) => a.status === bool).map((annotation) => this.toggle(annotation));
this.hotAnnotations.filter((annotation) => annotation.status === bool).map((annotation) => this.toggle(annotation));
this.selectedAll = bool;
this.selectedNone = !bool;
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment