mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
env update for dev
This commit is contained in:
parent
2e8a1aa12b
commit
684d710003
@ -2,6 +2,7 @@ import { Component, Input, OnInit } from '@angular/core';
|
|||||||
import { FormGroup } from '@angular/forms';
|
import { FormGroup } from '@angular/forms';
|
||||||
import { PollService } from '../../../../../core/services/poll.service';
|
import { PollService } from '../../../../../core/services/poll.service';
|
||||||
import { ApiService } from '../../../../../core/services/api.service';
|
import { ApiService } from '../../../../../core/services/api.service';
|
||||||
|
import { environment } from '../../../../../../environments/environment';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-step-five',
|
selector: 'app-step-five',
|
||||||
@ -12,7 +13,7 @@ export class StepFiveComponent implements OnInit {
|
|||||||
@Input() step_max: any;
|
@Input() step_max: any;
|
||||||
@Input() public form: FormGroup;
|
@Input() public form: FormGroup;
|
||||||
poll: any;
|
poll: any;
|
||||||
advancedDisplayEnabled = true;
|
advancedDisplayEnabled = environment.advanced_options_display;
|
||||||
constructor(public pollService: PollService) {
|
constructor(public pollService: PollService) {
|
||||||
this.pollService.step_current = 5;
|
this.pollService.step_current = 5;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ endpoints.baseHref = apiV1.baseHref;
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
frontDomain: 'http://127.0.0.1:4200',
|
frontDomain: 'http://127.0.0.1:4200',
|
||||||
production: false,
|
production: false,
|
||||||
display_routes: false, // demo paths to test polls
|
display_routes: true, // demo paths to test polls
|
||||||
autofill_creation: true,
|
autofill_creation: true,
|
||||||
advanced_options_display: false,
|
advanced_options_display: false,
|
||||||
autofill_participation: false,
|
autofill_participation: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user