forked from extern/homer
Merge pull request #219 from tpansino/support-message-icon-url
Support passing FA icon in message URL payload
This commit is contained in:
commit
c4cae400d5
@ -54,7 +54,7 @@ export default {
|
|||||||
|
|
||||||
// keep the original config value if no value is provided by the endpoint
|
// keep the original config value if no value is provided by the endpoint
|
||||||
const message = this.message;
|
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) {
|
if (prop in fetchedMessage && fetchedMessage[prop] !== null) {
|
||||||
message[prop] = fetchedMessage[prop];
|
message[prop] = fetchedMessage[prop];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user