fix error

This commit is contained in:
Timo Hocker 2020-02-26 13:57:22 +01:00
parent ad17778f38
commit 653cc41ff2

View File

@ -1,8 +1,8 @@
<template> <template>
<div id="app"> <div id="app">
<div> <div v-if="json.headings && json.data">
<p>successfully loaded {{json.data.length}} entries</p> <p>successfully loaded {{json.data.length}} entries</p>
<table v-if="json.headings && json.data"> <table>
<tr> <tr>
<th <th
v-for="(value, key) in json.headings.filter((val,ind)=>!json.hidden.includes(ind))" v-for="(value, key) in json.headings.filter((val,ind)=>!json.hidden.includes(ind))"