mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
🐛 fix build
This commit is contained in:
parent
a3e243ed19
commit
10497c9cb0
@ -11,7 +11,7 @@ import {ConfigService} from '../../services/config.service';
|
|||||||
*/
|
*/
|
||||||
export class BaseComponent implements OnInit {
|
export class BaseComponent implements OnInit {
|
||||||
|
|
||||||
constructor(private config: ConfigService) {
|
constructor(public config: ConfigService) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
@ -53,7 +53,7 @@ export class VotingSummaryComponent implements OnInit {
|
|||||||
})
|
})
|
||||||
console.log('this.counters', this.counters);
|
console.log('this.counters', this.counters);
|
||||||
let choiceTitleFound = this.pollconfig.choices.find(elem => {
|
let choiceTitleFound = this.pollconfig.choices.find(elem => {
|
||||||
return elem.id === parseInt(choice_id_max)
|
return elem.id == choice_id_max
|
||||||
})
|
})
|
||||||
this.preferred = choiceTitleFound.name;
|
this.preferred = choiceTitleFound.name;
|
||||||
console.log('choiceTitleFound', choiceTitleFound)
|
console.log('choiceTitleFound', choiceTitleFound)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user