⚡ hop
This commit is contained in:
parent
06cf447529
commit
96709c9bc7
|
@ -194,7 +194,7 @@ export class ConfigService extends PollConfig {
|
||||||
|
|
||||||
findLocalStorageData() {
|
findLocalStorageData() {
|
||||||
// TODO check if the person has a key to retrieve her polls
|
// TODO check if the person has a key to retrieve her polls
|
||||||
|
console.log('localStorage', localStorage);
|
||||||
if (localStorage) {
|
if (localStorage) {
|
||||||
console.log('localStorage', localStorage)
|
console.log('localStorage', localStorage)
|
||||||
}
|
}
|
||||||
|
@ -282,6 +282,7 @@ export class ConfigService extends PollConfig {
|
||||||
this.selectedPoll = res;
|
this.selectedPoll = res;
|
||||||
this.pollId = res.pollId;
|
this.pollId = res.pollId;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.myPolls.push(config);
|
||||||
this.router.navigate(['step/end']);
|
this.router.navigate(['step/end']);
|
||||||
}, (e) => {
|
}, (e) => {
|
||||||
this.handleError(e)
|
this.handleError(e)
|
||||||
|
|
Loading…
Reference in New Issue