From: Tom Pansino <2768420+tpansino@users.noreply.github.com> Date: Sat, 15 May 2021 09:20:51 +0000 (-0700) Subject: Support passing FA icon in message URL payload X-Git-Tag: v21.07.1~13^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=742ae4eb528df6803d6b575b7a60a1e68d8d7e4d;p=github%2Fbastienwirtz%2Fhomer.git Support passing FA icon in message URL payload --- 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 { // 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]; }