fix: update documentation links for server setup and SSH key creation components

This commit is contained in:
Mauricio Siu
2026-02-27 00:11:00 -06:00
parent e90d8c0ac4
commit 29fc8bfa97
3 changed files with 11 additions and 12 deletions
@@ -190,7 +190,7 @@ export const SetupServer = ({ serverId, asButton = false }: Props) => {
Automatic process Automatic process
</span> </span>
<Link <Link
href="https://docs.dokploy.com/docs/core/multi-server/instructions#requirements" href="https://docs.dokploy.com/docs/core/remote-servers/instructions#requirements"
target="_blank" target="_blank"
className="text-primary flex flex-row gap-2" className="text-primary flex flex-row gap-2"
> >
@@ -172,7 +172,7 @@ export const CreateSSHKey = () => {
etc.) etc.)
</p> </p>
<Link <Link
href="https://docs.dokploy.com/docs/core/multi-server/instructions#requirements" href="https://docs.dokploy.com/docs/core/remote-servers/instructions#requirements"
target="_blank" target="_blank"
className="text-primary flex flex-row gap-2 mt-2" className="text-primary flex flex-row gap-2 mt-2"
> >
@@ -11,20 +11,19 @@ interface Props {
export const DashboardLayout = ({ children }: Props) => { export const DashboardLayout = ({ children }: Props) => {
const { data: haveRootAccess } = api.user.haveRootAccess.useQuery(); const { data: haveRootAccess } = api.user.haveRootAccess.useQuery();
const { data: isCloud } = api.settings.isCloud.useQuery(); const { data: isCloud } = api.settings.isCloud.useQuery();
const { data: isUserSubscribed } = api.settings.isUserSubscribed.useQuery( const { data: currentPlan } = api.stripe.getCurrentPlan.useQuery(undefined, {
undefined, enabled: isCloud === true,
{ refetchOnWindowFocus: false,
enabled: isCloud === true, refetchOnMount: false,
refetchOnWindowFocus: false, refetchOnReconnect: false,
refetchOnMount: false, });
refetchOnReconnect: false,
}, const isChatEnabled = isCloud === true && currentPlan === "startup";
);
return ( return (
<> <>
<Page>{children}</Page> <Page>{children}</Page>
{isCloud === true && isUserSubscribed === true && ( {isChatEnabled && (
<> <>
<HubSpotWidget /> <HubSpotWidget />
</> </>