📖 update refacto utilities as services

archived-develop
Baptiste Lemoine 3 years ago
parent c5b5276400
commit 44424d378a

@ -1,3 +1,8 @@
import {Injectable} from "@angular/core";
@Injectable({
providedIn: 'root'
})
export class DateUtilities {
/**

@ -64,9 +64,6 @@ export class PollConfig {
answers: any = defaultAnswers;
constructor() {
}
resetConfig() {
const self = this;
Object.keys(baseConfigValues).forEach((key) => {

@ -1,6 +1,10 @@
import {HttpHeaders} from "@angular/common/http";
import {PollConfig} from "./PollConfig";
import {Injectable} from "@angular/core";
@Injectable({
providedIn: 'root'
})
export class PollUtilities {
// utils functions
/**

@ -1,7 +1,3 @@
@import "../../../assets/scss/variables";
.submit-votestack {
position: fixed;
bottom: 5px;
right: 5px;
}

@ -0,0 +1,5 @@
.submit-votestack {
position: fixed;
bottom: 5px;
right: 5px;
}
Loading…
Cancel
Save