mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
(feat:agent-details) redirect on url
This commit is contained in:
@@ -98,7 +98,13 @@ export default function AgentDetailsModal({
|
|||||||
{sharedToken ? (
|
{sharedToken ? (
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<p className="inline break-all font-roboto text-[14px] font-medium leading-normal text-gray-700 dark:text-[#ECECF1]">
|
<p className="inline break-all font-roboto text-[14px] font-medium leading-normal text-gray-700 dark:text-[#ECECF1]">
|
||||||
{`${baseURL}/shared/agent/${sharedToken}`}
|
<a
|
||||||
|
href={`${baseURL}/shared/agent/${sharedToken}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
{`${baseURL}/shared/agent/${sharedToken}`}
|
||||||
|
</a>
|
||||||
<CopyButton
|
<CopyButton
|
||||||
textToCopy={`${baseURL}/shared/agent/${sharedToken}`}
|
textToCopy={`${baseURL}/shared/agent/${sharedToken}`}
|
||||||
padding="p-1"
|
padding="p-1"
|
||||||
@@ -181,7 +187,9 @@ export default function AgentDetailsModal({
|
|||||||
{webhookUrl ? (
|
{webhookUrl ? (
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<p className="break-all font-roboto text-[14px] font-medium leading-normal text-gray-700 dark:text-[#ECECF1]">
|
<p className="break-all font-roboto text-[14px] font-medium leading-normal text-gray-700 dark:text-[#ECECF1]">
|
||||||
{webhookUrl}
|
<a href={webhookUrl} target="_blank" rel="noreferrer">
|
||||||
|
{webhookUrl}
|
||||||
|
</a>
|
||||||
<CopyButton
|
<CopyButton
|
||||||
textToCopy={webhookUrl}
|
textToCopy={webhookUrl}
|
||||||
padding="p-1"
|
padding="p-1"
|
||||||
|
|||||||
Reference in New Issue
Block a user