diff options
author | Tom Pansino <2768420+tpansino@users.noreply.github.com> | 2021-05-15 02:20:51 -0700 |
---|---|---|
committer | Tom Pansino <2768420+tpansino@users.noreply.github.com> | 2021-05-15 02:20:51 -0700 |
commit | 742ae4eb528df6803d6b575b7a60a1e68d8d7e4d (patch) | |
tree | 15b4f9ff32adcefcff7065a99f94a96ddf662207 /src | |
parent | 996011956b97566849167ccd6ec470ab38b0ec60 (diff) | |
download | homer-742ae4eb528df6803d6b575b7a60a1e68d8d7e4d.tar.gz homer-742ae4eb528df6803d6b575b7a60a1e68d8d7e4d.tar.zst homer-742ae4eb528df6803d6b575b7a60a1e68d8d7e4d.zip |
Support passing FA icon in message URL payload
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Message.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Message.vue b/src/components/Message.vue index 6cc649a..00ce158 100644 --- a/src/components/Message.vue +++ b/src/components/Message.vue | |||
@@ -54,7 +54,7 @@ export default { | |||
54 | 54 | ||
55 | // keep the original config value if no value is provided by the endpoint | 55 | // keep the original config value if no value is provided by the endpoint |
56 | const message = this.message; | 56 | const message = this.message; |
57 | for (const prop of ["title", "style", "content"]) { | 57 | for (const prop of ["title", "style", "content", "icon"]) { |
58 | if (prop in fetchedMessage && fetchedMessage[prop] !== null) { | 58 | if (prop in fetchedMessage && fetchedMessage[prop] !== null) { |
59 | message[prop] = fetchedMessage[prop]; | 59 | message[prop] = fetchedMessage[prop]; |
60 | } | 60 | } |