balibabu
commited on
Commit
·
fe71002
1
Parent(s):
f895b25
fix: Copied API link error #2188 (#2189)
Browse files### What problem does this PR solve?
fix: Copied API link error #2188
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
web/src/components/api-service/chat-overview-modal/index.tsx
CHANGED
|
@@ -76,9 +76,11 @@ const ChatOverviewModal = ({
|
|
| 76 |
<Card title={t('backendServiceApi')}>
|
| 77 |
<Flex gap={8} vertical>
|
| 78 |
{t('serviceApiEndpoint')}
|
| 79 |
-
<Paragraph
|
| 80 |
-
{location.origin}
|
| 81 |
-
|
|
|
|
|
|
|
| 82 |
</Paragraph>
|
| 83 |
</Flex>
|
| 84 |
<Space size={'middle'}>
|
|
|
|
| 76 |
<Card title={t('backendServiceApi')}>
|
| 77 |
<Flex gap={8} vertical>
|
| 78 |
{t('serviceApiEndpoint')}
|
| 79 |
+
<Paragraph
|
| 80 |
+
copyable={{ text: `${location.origin}/v1/api/` }}
|
| 81 |
+
className={styles.linkText}
|
| 82 |
+
>
|
| 83 |
+
{location.origin}/v1/api/
|
| 84 |
</Paragraph>
|
| 85 |
</Flex>
|
| 86 |
<Space size={'middle'}>
|