Commit 5c381b6c authored by matthias.lang's avatar matthias.lang
Browse files

web: don't show table for empty results

parent 0e95a7b3
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<em>{{ filteredData.length }} Treffer</em> <em>{{ filteredData.length }} Treffer</em>
</div> </div>
<table class="u-full-width"> <table class="u-full-width" v-if="filteredData.length">
<thead> <thead>
<tr> <tr>
<th v-for="entry in tableHeaders" <th v-for="entry in tableHeaders"
...@@ -207,13 +207,13 @@ ...@@ -207,13 +207,13 @@
</tbody> </tbody>
</table> </table>
<!--
<div class="row"> <div class="row">
<div class="twelve columns"> <div class="twelve columns">
<button class="button" type="submit" @click="getShibSessionData()" v-if="visitorLoggedIn" required>Shibbed, {{ visitorName }}</button> <button class="button" type="submit" @click="getShibSessionData()" v-if="visitorLoggedIn" required>Shibbed, {{ visitorName }}</button>
<button class="button" type="submit" @click="getShibSessionData()" v-if="!visitorLoggedIn" required>NOT shibbed</button> <button class="button" type="submit" @click="getShibSessionData()" v-if="!visitorLoggedIn" required>NOT shibbed</button>
</div> </div>
</div> </div> -->
......
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