title: TypeError: Cannot read property 'filter' of undefined at VueComponent.filterKategori (app.js:16260)
body: <p>this is my code</p>
  
  <pre><code>computed: {
      filterKategori() {
        var kategori = this.kategori.data.filter(f =&gt; {
          return f.induk == null &amp;&amp; f.id_klasifikasi == this.id_klasifikasi;
        });
  
        return kategori;
      }
    },
  </code></pre>
  
  <p>and this is my structure data</p>
  
  <pre><code>kategori: {
      current_page: 1
      data: [{id: "01", nama_kategori: "Karya Umum", reorder: 6, ishide: "0", id_klasifikasi: "01", induk: null},…]
      first_page_url: "http://localhost:8002/api/fetch/kategori?page=1"
      from: 1
      last_page: 1
      last_page_url: "http://localhost:8002/api/fetch/kategori?page=1"
      next_page_url: null
      path: "http://localhost:8002/api/fetch/kategori"
      per_page: "10"
  }
  </code></pre>
  
  <p>can't anyone help me please, why the filter is'nt working and the error says this cannot read property filter of undefined</p>