forked from extern/homer
Support passing FA icon in message URL payload
This commit is contained in:
parent
996011956b
commit
742ae4eb52
@ -54,7 +54,7 @@ export default {
|
||||
|
||||
// keep the original config value if no value is provided by the endpoint
|
||||
const message = this.message;
|
||||
for (const prop of ["title", "style", "content"]) {
|
||||
for (const prop of ["title", "style", "content", "icon"]) {
|
||||
if (prop in fetchedMessage && fetchedMessage[prop] !== null) {
|
||||
message[prop] = fetchedMessage[prop];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user