Browse Source

Merge pull request #24862 from abpframework/issue/fixing-the-change-clear

Angular - Fixing the menu item duplication after clicking save in settings
pull/24874/head
Yağmur Çelik 1 month ago
committed by GitHub
parent
commit
eb342de04d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      npm/ng-packs/packages/core/src/lib/directives/for.directive.ts

1
npm/ng-packs/packages/core/src/lib/directives/for.directive.ts

@ -175,6 +175,7 @@ export class ForDirective implements OnChanges {
// Recreate differ if items array reference changed
if (this.lastItemsRef !== this.items) {
this.vcRef.clear();
this.differ = null;
this.lastItemsRef = this.items;
}

Loading…
Cancel
Save