mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-28 16:06:41 +01:00
AuthLayout: hide projectId if not available
This commit is contained in:
@@ -142,13 +142,15 @@ export default function AuthLayout({
|
||||
/>
|
||||
)}
|
||||
|
||||
<Typography
|
||||
variant="caption"
|
||||
color="text.disabled"
|
||||
sx={{ display: hideProject ? "none" : "block", mb: -0.5 }}
|
||||
>
|
||||
Project: <span style={{ userSelect: "all" }}>{projectId}</span>
|
||||
</Typography>
|
||||
{projectId && (
|
||||
<Typography
|
||||
variant="caption"
|
||||
color="text.disabled"
|
||||
sx={{ display: hideProject ? "none" : "block", mb: -0.5 }}
|
||||
>
|
||||
Project: <span style={{ userSelect: "all" }}>{projectId}</span>
|
||||
</Typography>
|
||||
)}
|
||||
</Paper>
|
||||
|
||||
<Stack
|
||||
|
||||
Reference in New Issue
Block a user