Skip to content
Snippets Groups Projects
Unverified Commit 424ca142 authored by Timothy Carambat's avatar Timothy Carambat Committed by GitHub
Browse files

Fix default role visibility permissions (#776)

parent e99c74ae
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ export default function App() {
<Route path="/login" element={<Login />} />
<Route
path="/workspace/:slug/settings/:tab"
element={<PrivateRoute Component={WorkspaceSettings} />}
element={<ManagerRoute Component={WorkspaceSettings} />}
/>
<Route
path="/workspace/:slug"
......
......@@ -114,10 +114,8 @@ export default function ActiveWorkspaces() {
: truncate(workspace.name, 20)}
</p>
</div>
{isActive ||
isHovered ||
gearHover[workspace.id] ||
user?.role === "default" ? (
{(isActive || isHovered || gearHover[workspace.id]) &&
user?.role !== "default" ? (
<div className="flex items-center gap-x-2">
<button
type="button"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment