mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-03 11:34:54 +01:00
fix: #147 notifier now shows previous input value
This commit is contained in:
@@ -2762,6 +2762,10 @@ const docTemplate = `{
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "URL field is not exposed to the client",
|
||||
"type": "string"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -2755,6 +2755,10 @@
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "URL field is not exposed to the client",
|
||||
"type": "string"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -539,6 +539,9 @@ definitions:
|
||||
type: string
|
||||
updatedAt:
|
||||
type: string
|
||||
url:
|
||||
description: URL field is not exposed to the client
|
||||
type: string
|
||||
userId:
|
||||
type: string
|
||||
type: object
|
||||
|
||||
@@ -55,7 +55,7 @@ type (
|
||||
|
||||
Name string `json:"name"`
|
||||
IsActive bool `json:"isActive"`
|
||||
URL string `json:"-"` // URL field is not exposed to the client
|
||||
URL string `json:"url"`
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -2755,6 +2755,10 @@
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"description": "URL field is not exposed to the client",
|
||||
"type": "string"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -323,6 +323,8 @@ export interface NotifierOut {
|
||||
isActive: boolean;
|
||||
name: string;
|
||||
updatedAt: Date | string;
|
||||
/** URL field is not exposed to the client */
|
||||
url: string;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
targetID.value = v.id;
|
||||
notifier.value = {
|
||||
name: v.name,
|
||||
url: "",
|
||||
url: v.url,
|
||||
isActive: v.isActive,
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user