Permalink
Browse files

display all members independent of constitution version. also display…

… version on account page
  • Loading branch information...
kasperfish
kasperfish committed Oct 7, 2018
1 parent 4a314ce commit b6a3468cd1b0823e4d85c011df050b824bed6571
Showing with 4 additions and 4 deletions.
  1. +3 −3 frontend/src/pages/account.vue
  2. +1 −1 frontend/src/pages/index.vue
@@ -68,7 +68,7 @@
</div>
<div class="col-xs-4 text-left">
<p class="q-mb-none q-mt-sm q-headline text-weight-light text-white big" style="line-height:24px;">
<span v-if="ismember" class="text-positive">YES</span>
<span v-if="ismember" class="text-positive">YES</span><span class="q-caption"> v{{ismember}}</span>
<span v-if="!ismember" class="text-negative">NO</span>
</p>
<span class="q-subheading">{{ $t('MEMBER') }}</span>
@@ -253,8 +253,8 @@ export default {
return false;
}
else{
if (res.rows[0].sender === this.title && res.rows[0].agreedterms == 2){
this.ismember = true;
if (res.rows[0].sender === this.title){
this.ismember = res.rows[0].agreedterms;
}
else{
this.ismember = false;
@@ -163,7 +163,7 @@ export default {
}
}
}
let real_members = temp.filter(x => {return x.agreedterms == 2});
let real_members = temp;
this.membercount = real_members.length;
},
getMembers(lb=''){

0 comments on commit b6a3468

Please sign in to comment.