Fix category update

This commit is contained in:
Chocobozzz 2024-12-10 15:13:37 +01:00
parent c181f20a3e
commit 8e14392c32
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ input[type=checkbox] {
@include peertube-select-container($form-base-input-width);
}
my-select-checkbox,
my-select-options,
my-select-custom-value {
display: block;

View File

@ -482,7 +482,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {
]).subscribe({
next: ([ languages, categories ]) => {
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)