You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/06/19 07:36:04 UTC

(incubator-devlake) branch fix-link-error created (now 1c4fcb5c0)

This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a change to branch fix-link-error
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


      at 1c4fcb5c0 fix: link error

This branch includes the following new commits:

     new 1c4fcb5c0 fix: link error

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-devlake) 01/01: fix: link error

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch fix-link-error
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 1c4fcb5c0df4b4a0b826f3f0abfd35763a7e30a8
Author: mintsweet <0x...@gmail.com>
AuthorDate: Wed Jun 19 19:35:50 2024 +1200

    fix: link error
---
 config-ui/src/plugins/components/data-scope-select/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config-ui/src/plugins/components/data-scope-select/index.tsx b/config-ui/src/plugins/components/data-scope-select/index.tsx
index 213b7ed25..79bd8b082 100644
--- a/config-ui/src/plugins/components/data-scope-select/index.tsx
+++ b/config-ui/src/plugins/components/data-scope-select/index.tsx
@@ -24,6 +24,7 @@ import type { McsItem } from 'miller-columns-select';
 import MillerColumnsSelect from 'miller-columns-select';
 
 import API from '@/api';
+import { PATHS } from '@/config';
 import { Loading, Block, ExternalLink, Message } from '@/components';
 import { useRefreshData } from '@/hooks';
 import { getPluginScopeId } from '@/plugins';
@@ -182,7 +183,7 @@ export const DataScopeSelect = ({
         </Flex>
       ) : (
         <Flex>
-          <ExternalLink link={`/connections/${plugin}/${connectionId}`}>
+          <ExternalLink link={PATHS.CONNECTION(plugin, connectionId)}>
             <Button type="primary" icon={<PlusOutlined />}>
               Add Data Scope
             </Button>