mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 00:28:49 +00:00
25 lines
768 B
TypeScript
25 lines
768 B
TypeScript
import { GenericFieldLabel } from "@app/components/secret-syncs";
|
|
import { TLaravelForgeSync } from "@app/hooks/api/secretSyncs/types/laravel-forge-sync";
|
|
|
|
type Props = {
|
|
secretSync: TLaravelForgeSync;
|
|
};
|
|
|
|
export const LaravelForgeSyncDestinationSection = ({ secretSync }: Props) => {
|
|
const { destinationConfig } = secretSync;
|
|
|
|
return (
|
|
<>
|
|
<GenericFieldLabel label="Account">
|
|
{destinationConfig.orgName || destinationConfig.orgSlug}
|
|
</GenericFieldLabel>
|
|
<GenericFieldLabel label="Server">
|
|
{destinationConfig.serverName || destinationConfig.serverId}
|
|
</GenericFieldLabel>
|
|
<GenericFieldLabel label="Site">
|
|
{destinationConfig.siteName || destinationConfig.siteId}
|
|
</GenericFieldLabel>
|
|
</>
|
|
);
|
|
};
|