aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2021-07-14 01:55:59 -0700
committerGitHub <noreply@github.com>2021-07-14 01:55:59 -0700
commitc4cae400d52c82986c78ae953ab8efcc94edcadc (patch)
tree64a164aa97e207e4f27b5fe8e7a4a4f759d0fcc4 /src/components
parent9e1b1bd1d251f60e6061fd35a91938ebe02cc72a (diff)
parent742ae4eb528df6803d6b575b7a60a1e68d8d7e4d (diff)
downloadhomer-c4cae400d52c82986c78ae953ab8efcc94edcadc.tar.gz
homer-c4cae400d52c82986c78ae953ab8efcc94edcadc.tar.zst
homer-c4cae400d52c82986c78ae953ab8efcc94edcadc.zip
Merge pull request #219 from tpansino/support-message-icon-url
Support passing FA icon in message URL payload
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Message.vue2
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 }