Permalink
Browse files

Add Yes/No display

  • Loading branch information...
lukestokes committed Jan 16, 2019
1 parent d64a841 commit b8df3a988522cef536c8721a840592da97c7a145
Showing with 11 additions and 1 deletion.
  1. +11 −1 frontend/src/pages/hodlers.vue
@@ -21,10 +21,20 @@
<router-link :to="{path: '/account/' + props.value}" >{{ props.value }}</router-link>
</q-td>

<q-td slot="body-cell-balance" slot-scope="props" :props="props" :style="{width:'80%'}">
<q-td slot="body-cell-balance" slot-scope="props" :props="props">
{{ props.value }}
</q-td>

<q-td slot="body-cell-is_member" slot-scope="props" :props="props">
<span v-if="props.value == 1">Yes</span>
<span v-if="props.value == 0">No</span>
</q-td>

<q-td slot="body-cell-has_voted" slot-scope="props" :props="props" :style="{width:'80%'}">
<span v-if="props.value == 1">Yes</span>
<span v-if="props.value == 0">No</span>
</q-td>

<template slot="top-right" slot-scope="props">
<q-search hide-underline v-model.trim="filter" />
<q-btn

0 comments on commit b8df3a9

Please sign in to comment.