mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-30 16:52:16 +00:00
fix: update documentation links for server setup and SSH key creation components
This commit is contained in:
@@ -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"
|
||||||
>
|
>
|
||||||
|
|||||||
+1
-1
@@ -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 />
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user