diff --git a/src/grafana.js b/src/grafana.js index 4321edf..2049898 100644 --- a/src/grafana.js +++ b/src/grafana.js @@ -59,7 +59,7 @@ const Grafana = (obj) => {
- +
diff --git a/src/livepeer.js b/src/livepeer.js index a33b24e..380be4c 100644 --- a/src/livepeer.js +++ b/src/livepeer.js @@ -153,7 +153,7 @@ const Livepeer = (obj) => {
- +
diff --git a/src/orchestratorViewer.js b/src/orchestratorViewer.js index 85fc13a..c6630b9 100644 --- a/src/orchestratorViewer.js +++ b/src/orchestratorViewer.js @@ -59,6 +59,13 @@ const Orchestrator = (obj) => { thisUrl = "https://explorer.livepeer.org/accounts/" + thisID; } + let shareUrl; + if (obj.rootOnly){ + shareUrl = window.location.href; + }else{ + shareUrl = window.location.href + "?orchAddr=" + thisID; + } + return (
@@ -74,7 +81,7 @@ const Orchestrator = (obj) => {