forked from tykayn/funky-framadate-front
fix display of vote stacks detailed
This commit is contained in:
parent
adc7c255d8
commit
075d434c6f
@ -15,7 +15,8 @@ import { ToastService } from '../../core/services/toast.service';
|
||||
styleUrls: ['./consultation.component.scss'],
|
||||
})
|
||||
export class ConsultationComponent implements OnInit, OnDestroy {
|
||||
public isCompactMode = false;
|
||||
// public isCompactMode = false;
|
||||
public isCompactMode = true;
|
||||
public poll: Poll;
|
||||
public pollSlug: string;
|
||||
public pass_hash: string;
|
||||
|
@ -7,7 +7,6 @@
|
||||
<th *ngFor="let choice of poll.choices">
|
||||
<!-- {{choice.id}}-->
|
||||
<span class="label" *ngIf="poll.kind == 'text'">
|
||||
{{ choice.id }}
|
||||
{{ choice.name }}
|
||||
</span>
|
||||
<span class="label" *ngIf="poll.kind == 'date'">
|
||||
@ -54,8 +53,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<ng-container *ngFor="let vote of stack.votes">
|
||||
<td *ngIf="vote.value" class="stack-vote background-{{ vote.value }}">
|
||||
{{ vote.choice_id }})
|
||||
<td class="stack-vote background-{{ vote.value }}">
|
||||
{{ vote.value }}
|
||||
</td>
|
||||
</ng-container>
|
||||
|
Loading…
Reference in New Issue
Block a user