mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-03 00:58:37 +00:00
feat: hide registration button when disabled (#287)
* add allow registration to API Summary * code gen * use env for troubleshooting * disable registration toggle based on backend
This commit is contained in:
parent
dd349aa98e
commit
efd7069fe4
7 changed files with 27 additions and 14 deletions
|
@ -2425,6 +2425,9 @@ const docTemplate = `{
|
|||
"v1.ApiSummary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allowRegistration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"build": {
|
||||
"$ref": "#/definitions/v1.Build"
|
||||
},
|
||||
|
|
|
@ -2417,6 +2417,9 @@
|
|||
"v1.ApiSummary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allowRegistration": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"build": {
|
||||
"$ref": "#/definitions/v1.Build"
|
||||
},
|
||||
|
|
|
@ -564,6 +564,8 @@ definitions:
|
|||
type: object
|
||||
v1.ApiSummary:
|
||||
properties:
|
||||
allowRegistration:
|
||||
type: boolean
|
||||
build:
|
||||
$ref: '#/definitions/v1.Build'
|
||||
demo:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue