diff --git a/jsx/src/components/ServerDashboard/ServerDashboard.jsx b/jsx/src/components/ServerDashboard/ServerDashboard.jsx index 0ff8df88..9b08f0fa 100644 --- a/jsx/src/components/ServerDashboard/ServerDashboard.jsx +++ b/jsx/src/components/ServerDashboard/ServerDashboard.jsx @@ -10,6 +10,14 @@ import "./server-dashboard.css"; import { timeSince } from "../../util/timeSince"; import PaginationFooter from "../PaginationFooter/PaginationFooter"; +const AccessServerButton = ({ userName, serverName }) => ( + + + +); + const ServerDashboard = (props) => { // sort methods var usernameDesc = (e) => e.sort((a, b) => (a.name > b.name ? 1 : -1)), @@ -145,6 +153,29 @@ const ServerDashboard = (props) => { ); }; + const EditUserCell = ({ user, numServers, serverName }) => { + if (serverName) return null; + return ( +