fix: #147 notifier now shows previous input value

This commit is contained in:
Matt Kilgore
2024-10-04 13:49:36 -04:00
parent 865661097c
commit a3d5485c1d
7 changed files with 19 additions and 2 deletions

View File

@@ -2762,6 +2762,10 @@ const docTemplate = `{
"updatedAt": {
"type": "string"
},
"url": {
"description": "URL field is not exposed to the client",
"type": "string"
},
"userId": {
"type": "string"
}

View File

@@ -2755,6 +2755,10 @@
"updatedAt": {
"type": "string"
},
"url": {
"description": "URL field is not exposed to the client",
"type": "string"
},
"userId": {
"type": "string"
}

View File

@@ -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

View File

@@ -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"`
}
)

View File

@@ -2755,6 +2755,10 @@
"updatedAt": {
"type": "string"
},
"url": {
"description": "URL field is not exposed to the client",
"type": "string"
},
"userId": {
"type": "string"
}

View File

@@ -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;
}

View File

@@ -208,7 +208,7 @@
targetID.value = v.id;
notifier.value = {
name: v.name,
url: "",
url: v.url,
isActive: v.isActive,
};
} else {