]>
Commit | Line | Data |
---|---|---|
5f46d28c C |
1 | import { SelectOptionsItem } from 'src/types/select-options-item.model' |
2 | import { Component, Input } from '@angular/core' | |
3 | import { FormGroup } from '@angular/forms' | |
8ee25e17 | 4 | import { CustomMarkupService } from '@app/shared/shared-custom-markup' |
5f46d28c C |
5 | |
6 | @Component({ | |
7 | selector: 'my-edit-instance-information', | |
8 | templateUrl: './edit-instance-information.component.html', | |
9 | styleUrls: [ './edit-custom-config.component.scss' ] | |
10 | }) | |
11 | export class EditInstanceInformationComponent { | |
12 | @Input() form: FormGroup | |
13 | @Input() formErrors: any | |
14 | ||
15 | @Input() languageItems: SelectOptionsItem[] = [] | |
16 | @Input() categoryItems: SelectOptionsItem[] = [] | |
8ee25e17 C |
17 | |
18 | constructor (private customMarkup: CustomMarkupService) { | |
19 | ||
20 | } | |
21 | ||
22 | getCustomMarkdownRenderer () { | |
23 | return this.customMarkup.getCustomMarkdownRenderer() | |
24 | } | |
5f46d28c | 25 | } |