switching networks works, established server functions
This commit is contained in:
@@ -20,6 +20,15 @@ class Dashboard extends Shadow {
|
||||
|
||||
render() {
|
||||
VStack(() => {
|
||||
|
||||
if(window.location.pathname.startsWith("/my")) {
|
||||
h1(global.profile.name);
|
||||
return
|
||||
}
|
||||
else if(!window.location.pathname.includes("comalyr")) {
|
||||
return
|
||||
}
|
||||
|
||||
h1("Website Inquiries");
|
||||
|
||||
p("Contact Us")
|
||||
@@ -41,7 +50,7 @@ class Dashboard extends Shadow {
|
||||
.maxWidth(95, pct)
|
||||
.gap(8);
|
||||
|
||||
window.currentNetwork.data.contact.forEach((entry) => {
|
||||
global.currentNetwork.data.contact.forEach((entry) => {
|
||||
HStack(() => {
|
||||
this.cell("time", entry.time);
|
||||
this.cell("fname", entry.fname);
|
||||
@@ -74,7 +83,7 @@ class Dashboard extends Shadow {
|
||||
.maxWidth(95, pct)
|
||||
.gap(8);
|
||||
|
||||
window.currentNetwork.data.join.forEach((entry) => {
|
||||
global.currentNetwork.data.join.forEach((entry) => {
|
||||
HStack(() => {
|
||||
this.cell("time", entry.time);
|
||||
this.cell("fname", entry.fname);
|
||||
|
||||
Reference in New Issue
Block a user