Skip to content

Commit

Permalink
Fix category update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Dec 10, 2024
1 parent c181f20 commit 8e14392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e14392

Please sign in to comment.