Vuex getter not updating : <p>I have the below getter:</p>

<pre><code>withEarmarks: state =&gt; {
    var count = 0;
    for (let l of state.laptops) {
        if (l.earmarks.length &gt; 0) {
            count++;
        }
    }
  return count;
}
</code></pre>

<p>And in a component, this computed property derived from that getter:</p>

<pre><code>    withEarmarks() { return this.$store.getters.withEarmarks; },
</code></pre>

<p>The value returned is correct, until I change an element within the laptops array, and then the getter doesn't update.</p>
