|
|
@ -48,7 +48,8 @@ class Slack extends NotificationProvider {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.extractAdress(monitorJSON)) {
|
|
|
|
const address = this.extractAdress(monitorJSON);
|
|
|
|
|
|
|
|
if (address) {
|
|
|
|
actions.push({
|
|
|
|
actions.push({
|
|
|
|
"type": "button",
|
|
|
|
"type": "button",
|
|
|
|
"text": {
|
|
|
|
"text": {
|
|
|
@ -56,7 +57,7 @@ class Slack extends NotificationProvider {
|
|
|
|
"text": "Visit site",
|
|
|
|
"text": "Visit site",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"value": "Site",
|
|
|
|
"value": "Site",
|
|
|
|
"url": monitorJSON.url,
|
|
|
|
"url": address,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|