mirror of
https://github.com/tale/headplane.git
synced 2026-08-24 11:36:31 +00:00
feat: implement onboarding for non-registered users
This commit is contained in:
@@ -16,6 +16,7 @@ import cn from '~/utils/cn';
|
||||
interface Props {
|
||||
configAvailable: boolean;
|
||||
uiAccess: boolean;
|
||||
onboarding: boolean;
|
||||
user?: AuthSession['user'];
|
||||
}
|
||||
|
||||
@@ -136,7 +137,7 @@ export default function Header(data: Props) {
|
||||
) : undefined}
|
||||
</div>
|
||||
</div>
|
||||
{data.uiAccess ? (
|
||||
{data.uiAccess && !data.onboarding ? (
|
||||
<nav className="container flex items-center gap-x-4 overflow-x-auto font-semibold">
|
||||
<TabLink
|
||||
to="/machines"
|
||||
|
||||
Reference in New Issue
Block a user