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

View File

@@ -190,7 +190,7 @@ export const SetupServer = ({ serverId, asButton = false }: Props) => {
Automatic process
</span>
<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"
className="text-primary flex flex-row gap-2"
>

View File

@@ -172,7 +172,7 @@ export const CreateSSHKey = () => {
etc.)
</p>
<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"
className="text-primary flex flex-row gap-2 mt-2"
>

View File

@@ -11,20 +11,19 @@ interface Props {
export const DashboardLayout = ({ children }: Props) => {
const { data: haveRootAccess } = api.user.haveRootAccess.useQuery();
const { data: isCloud } = api.settings.isCloud.useQuery();
const { data: isUserSubscribed } = api.settings.isUserSubscribed.useQuery(
undefined,
{
enabled: isCloud === true,
refetchOnWindowFocus: false,
refetchOnMount: false,
refetchOnReconnect: false,
},
);
const { data: currentPlan } = api.stripe.getCurrentPlan.useQuery(undefined, {
enabled: isCloud === true,
refetchOnWindowFocus: false,
refetchOnMount: false,
refetchOnReconnect: false,
});
const isChatEnabled = isCloud === true && currentPlan === "startup";
return (
<>
<Page>{children}</Page>
{isCloud === true && isUserSubscribed === true && (
{isChatEnabled && (
<>
<HubSpotWidget />
</>