]>
Commit | Line | Data |
---|---|---|
5f46d28c C |
1 | |
2 | import { SelectOptionsItem } from 'src/types/select-options-item.model' | |
3 | import { Component, Input } from '@angular/core' | |
4 | import { FormGroup } from '@angular/forms' | |
5 | ||
6 | @Component({ | |
7 | selector: 'my-edit-advanced-configuration', | |
8 | templateUrl: './edit-advanced-configuration.component.html', | |
9 | styleUrls: [ './edit-custom-config.component.scss' ] | |
10 | }) | |
11 | export class EditAdvancedConfigurationComponent { | |
12 | @Input() form: FormGroup | |
13 | @Input() formErrors: any | |
70e33515 C |
14 | |
15 | getCacheSize (type: 'captions' | 'previews') { | |
16 | return this.form.value['cache'][type]['size'] | |
17 | } | |
5f46d28c | 18 | } |