Skip to content

Commit

Permalink
use item.isDeleted to check whether the item is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Mar 26, 2022
1 parent 8d623d5 commit bb0d07d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bb0d07d

Please sign in to comment.