Fix category update
This commit is contained in:
parent
c181f20a3e
commit
8e14392c32
|
@ -56,6 +56,7 @@ input[type=checkbox] {
|
||||||
@include peertube-select-container($form-base-input-width);
|
@include peertube-select-container($form-base-input-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my-select-checkbox,
|
||||||
my-select-options,
|
my-select-options,
|
||||||
my-select-custom-value {
|
my-select-custom-value {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -482,7 +482,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {
|
||||||
]).subscribe({
|
]).subscribe({
|
||||||
next: ([ languages, categories ]) => {
|
next: ([ languages, categories ]) => {
|
||||||
this.languageItems = languages.map(l => ({ label: l.label, id: l.id }))
|
this.languageItems = languages.map(l => ({ label: l.label, id: l.id }))
|
||||||
this.categoryItems = categories.map(l => ({ label: l.label, id: l.id + '' }))
|
this.categoryItems = categories.map(l => ({ label: l.label, id: l.id }))
|
||||||
},
|
},
|
||||||
|
|
||||||
error: err => this.notifier.error(err.message)
|
error: err => this.notifier.error(err.message)
|
||||||
|
|
Loading…
Reference in New Issue