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) => {