This commit is contained in:
Baptiste Lemoine 2020-01-20 16:03:12 +01:00
parent 06cf447529
commit 96709c9bc7

View File

@ -194,7 +194,7 @@ export class ConfigService extends PollConfig {
findLocalStorageData() {
// TODO check if the person has a key to retrieve her polls
console.log('localStorage', localStorage);
if (localStorage) {
console.log('localStorage', localStorage)
}
@ -282,6 +282,7 @@ export class ConfigService extends PollConfig {
this.selectedPoll = res;
this.pollId = res.pollId;
this.loading = false;
this.myPolls.push(config);
this.router.navigate(['step/end']);
}, (e) => {
this.handleError(e)