mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Add ability to hide plugin form fields
This commit is contained in:
parent
87e0b71d36
commit
0f31933406
7 changed files with 35 additions and 18 deletions
|
@ -13,6 +13,9 @@ export type RegisterClientFormFieldOptions = {
|
|||
|
||||
// Default setting value
|
||||
default?: string | boolean
|
||||
|
||||
// Not supported by plugin setting registration, use registerSettingsScript instead
|
||||
hidden?: (options: any) => boolean
|
||||
}
|
||||
|
||||
export interface RegisterClientVideoFieldOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue