Enter your RM Circle member ID to see your payments, your team, and your lineage — everything verified on Polygon.
diff --git a/public/nav-dash.js b/public/nav-dash.js
index 0fc4ce7..b762812 100644
--- a/public/nav-dash.js
+++ b/public/nav-dash.js
@@ -8,6 +8,20 @@
if (/^\/my(\/|$)/.test(location.pathname)) return;
var nav = document.querySelector('.nav-actions');
if (!nav) return;
+ // The Suite went live to the whole org but nothing outside its own pages
+ // linked to it, so members could only reach it by knowing the URL. Same
+ // identity test as the dashboard button: if we know who they are, they hold
+ // a position, and a position is a licence to the toolkit.
+ function addSuite() {
+ if (/^\/suite(\/|$)/.test(location.pathname)) return;
+ if (nav.querySelector('a[href="/suite"]')) return;
+ var a = document.createElement('a');
+ a.className = 'btn btn-secondary hide-mobile';
+ a.href = '/suite';
+ a.textContent = '🧰 My Tools';
+ nav.insertBefore(a, nav.firstChild);
+ }
+
function add(id) {
if (!id || !/^\d{1,15}$/.test(String(id))) return;
if (document.getElementById('navMyDash')) return;
@@ -22,6 +36,6 @@
try { stored = localStorage.getItem('ctb.myId') || localStorage.getItem('rmc.toolsId'); } catch (e) {}
fetch('/api/public/msg-me')
.then(function (r) { return r.ok ? r.json() : null; })
- .then(function (d) { add(d && d.id ? d.id : stored); })
- .catch(function () { add(stored); });
+ .then(function (d) { var id = d && d.id ? d.id : stored; add(id); if (id) addSuite(); })
+ .catch(function () { add(stored); if (stored) addSuite(); });
})();