]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Support passing FA icon in message URL payload 219/head
authorTom Pansino <2768420+tpansino@users.noreply.github.com>
Sat, 15 May 2021 09:20:51 +0000 (02:20 -0700)
committerTom Pansino <2768420+tpansino@users.noreply.github.com>
Sat, 15 May 2021 09:20:51 +0000 (02:20 -0700)
src/components/Message.vue

index 6cc649ac2ffc532b4fe4f91b424a569045e161be..00ce158d7d96521930230bad7c6d23c3a1bbd8e4 100644 (file)
@@ -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];
           }