diff --git a/CHANGES.md b/CHANGES.md index 98c91f70cb0..0991d52fe57 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -47,5 +47,6 @@ Apollo 2.0.0 * [fix import config bug](https://github.com/apolloconfig/apollo/pull/4262) * [Refactor the soft delete design](https://github.com/apolloconfig/apollo/pull/3866) * [Fix the potential data inconsistency issue](https://github.com/apolloconfig/apollo/pull/4256) +* [Fix the deleted items display issue in text mode](https://github.com/apolloconfig/apollo/pull/4279) ------------------ All issues and pull requests are [here](https://github.com/ctripcorp/apollo/milestone/8?closed=1) diff --git a/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js b/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js index 3b69e3d3c66..e1ebd2f1607 100644 --- a/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js +++ b/apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js @@ -843,7 +843,7 @@ function directive($window, $translate, toastr, AppUtil, EventManager, Permissio var itemCnt = 0; namespace.items.forEach(function (item) { //deleted key - if (!item.item.dataChangeLastModifiedBy) { + if (item.isDeleted) { return; } if (item.item.key) {