aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components
diff options
context:
space:
mode:
authorTom Pansino <2768420+tpansino@users.noreply.github.com>2021-05-15 02:20:51 -0700
committerTom Pansino <2768420+tpansino@users.noreply.github.com>2021-05-15 02:20:51 -0700
commit742ae4eb528df6803d6b575b7a60a1e68d8d7e4d (patch)
tree15b4f9ff32adcefcff7065a99f94a96ddf662207 /src/components
parent996011956b97566849167ccd6ec470ab38b0ec60 (diff)
downloadhomer-742ae4eb528df6803d6b575b7a60a1e68d8d7e4d.tar.gz
homer-742ae4eb528df6803d6b575b7a60a1e68d8d7e4d.tar.zst
homer-742ae4eb528df6803d6b575b7a60a1e68d8d7e4d.zip
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 }