From c6b165d14e075078bf596d6cab9a65784c06a8e7 Mon Sep 17 00:00:00 2001 From: yangzl Date: Mon, 30 Sep 2024 08:38:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AFixed=20link=20namespace=20publishe?= =?UTF-8?q?d=20items=20show=20missing=20some=20items=20(#5240)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix:Fixed link namespace published items show missing some items * fix:add CHANGES.md --- CHANGES.md | 1 + .../views/component/namespace-panel-master-tab.html | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ed756c3f80e..c1fc1402fec 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,7 @@ Apollo 2.4.0 * [Update the server config link in system info page](https://github.com/apolloconfig/apollo/pull/5204) * [Feature support portal restTemplate Client connection pool config](https://github.com/apolloconfig/apollo/pull/5200) * [Feature added the ability for administrators to globally search for Value](https://github.com/apolloconfig/apollo/pull/5182) +* [Fix link namespace published items show missing some items](https://github.com/apolloconfig/apollo/pull/5240) ------------------ All issues and pull requests are [here](https://github.com/apolloconfig/apollo/milestone/15?closed=1) \ No newline at end of file diff --git a/apollo-portal/src/main/resources/static/views/component/namespace-panel-master-tab.html b/apollo-portal/src/main/resources/static/views/component/namespace-panel-master-tab.html index 6b8fa17f47d..c93bd8f90a4 100644 --- a/apollo-portal/src/main/resources/static/views/component/namespace-panel-master-tab.html +++ b/apollo-portal/src/main/resources/static/views/component/namespace-panel-master-tab.html @@ -624,7 +624,7 @@
{{'Component.Namespace.Master.Items.Body.Link.NoCoverLinkItem' | translate } + ng-if="config.item.key && ((!config.isModified && !config.isDeleted) || config.oldValue)"> @@ -643,9 +643,11 @@
{{'Component.Namespace.Master.Items.Body.Link.NoCoverLinkItem' | translate } - - + ng-click="(config.isModified || config.isDeleted) ? showText(config.oldValue) : showText(config.item.value)"> + + + +