From 46e04105df12fede3e0aa54eba7966d5b78dfc52 Mon Sep 17 00:00:00 2001 From: Toni Spets Date: Fri, 1 Dec 2023 10:06:57 +0200 Subject: [PATCH] Add dashboard URL --- src/utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils.js b/src/utils.js index 8c6ea50..5930a17 100644 --- a/src/utils.js +++ b/src/utils.js @@ -168,6 +168,10 @@ const utils = { parts.push('| 🔇 Silence') } + if(data.annotations.hasOwnProperty("dashboard_url")) { + parts.push('| 🚦 Dashboard') + } + if(data.annotations.hasOwnProperty("runbook_url")) { parts.push('| 🏃 Runbook') }