mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
27 lines
570 B
TypeScript
27 lines
570 B
TypeScript
import {Component, OnInit} from '@angular/core';
|
|
import {ConfigService} from '../config.service';
|
|
|
|
@Component({
|
|
selector: 'framadate-debugger',
|
|
templateUrl: './debugger.component.html',
|
|
styleUrls: ['./debugger.component.scss']
|
|
})
|
|
export class DebuggerComponent implements OnInit {
|
|
formIsValid = true;
|
|
|
|
constructor(public config: ConfigService) {
|
|
}
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
selectOption(key: string, val: any) {
|
|
if (!this.config[key]) {
|
|
return false;
|
|
}
|
|
this.config[key] = val;
|
|
|
|
return true;
|
|
}
|
|
}
|