This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new b2f21ba86 fix: distinguish update tips (#8023)
b2f21ba86 is described below
commit b2f21ba864bcedd9e0032b76abd4dff61b6dacbc
Author: 青湛 <[email protected]>
AuthorDate: Wed Sep 11 13:55:47 2024 +1200
fix: distinguish update tips (#8023)
---
config-ui/src/routes/blueprint/detail/configuration-panel.tsx | 3 ++-
config-ui/src/routes/blueprint/detail/status-panel.tsx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config-ui/src/routes/blueprint/detail/configuration-panel.tsx
b/config-ui/src/routes/blueprint/detail/configuration-panel.tsx
index cd1dd8ae8..0a010226a 100644
--- a/config-ui/src/routes/blueprint/detail/configuration-panel.tsx
+++ b/config-ui/src/routes/blueprint/detail/configuration-panel.tsx
@@ -89,7 +89,8 @@ export const ConfigurationPanel = ({ from, blueprint,
onRefresh, onChangeTab }:
}),
{
setOperating,
- formatMessage: () => 'Update blueprint successful.',
+ formatMessage: () =>
+ from === FromEnum.project ? 'Update project successful.' : 'Update
blueprint successful.',
},
);
diff --git a/config-ui/src/routes/blueprint/detail/status-panel.tsx
b/config-ui/src/routes/blueprint/detail/status-panel.tsx
index a4feee6df..bbc04ee6a 100644
--- a/config-ui/src/routes/blueprint/detail/status-panel.tsx
+++ b/config-ui/src/routes/blueprint/detail/status-panel.tsx
@@ -98,7 +98,8 @@ export const StatusPanel = ({ from, blueprint, pipelineId,
onRefresh }: Props) =
}),
{
setOperating,
- formatMessage: () => 'Update blueprint successful.',
+ formatMessage: () =>
+ from === FromEnum.project ? 'Update project successful.' : 'Update
blueprint successful.',
},
);