You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/04/20 13:54:28 UTC
[incubator-inlong] 07/07: [INLONG-3851][Dashboard] Unify the naming of data streams (#3852)
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch release-1.1.0
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
commit d4e82a06d25f81588bc4ae0ca0768fa1cc18fcfd
Author: Daniel <le...@outlook.com>
AuthorDate: Wed Apr 20 18:52:16 2022 +0800
[INLONG-3851][Dashboard] Unify the naming of data streams (#3852)
---
inlong-dashboard/src/pages/AccessCreate/index.tsx | 2 +-
inlong-dashboard/src/pages/AccessDetail/index.tsx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/inlong-dashboard/src/pages/AccessCreate/index.tsx b/inlong-dashboard/src/pages/AccessCreate/index.tsx
index 61b566c6f..ac8b03966 100644
--- a/inlong-dashboard/src/pages/AccessCreate/index.tsx
+++ b/inlong-dashboard/src/pages/AccessCreate/index.tsx
@@ -60,7 +60,7 @@ const Create: React.FC = () => {
ref: businessRef,
},
{
- title: middlewareType === 'PULSAR' ? 'TOPIC' : t('pages.AccessCreate.DataStreams'),
+ title: t('pages.AccessCreate.DataStreams'),
content: (
<DataStream
ref={dataStreamRef}
diff --git a/inlong-dashboard/src/pages/AccessDetail/index.tsx b/inlong-dashboard/src/pages/AccessDetail/index.tsx
index 877fcf3c5..0fe95453c 100644
--- a/inlong-dashboard/src/pages/AccessDetail/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/index.tsx
@@ -50,7 +50,7 @@ const Comp: React.FC = () => {
content: Info,
},
{
- label: middlewareType === 'PULSAR' ? 'TOPIC' : t('pages.AccessDetail.DataStreams'),
+ label: t('pages.AccessDetail.DataStreams'),
value: 'dataStream',
content: DataStream,
},
@@ -73,7 +73,7 @@ const Comp: React.FC = () => {
hidden: isReadonly,
},
].filter(item => !item.hidden),
- [isReadonly, middlewareType, t],
+ [isReadonly, t],
);
const [actived, setActived] = useState(list[0].value);