vc-create-dashboard 2.6.4 → 2.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1861,7 +1861,7 @@ class UserListComponent {
1861
1861
  ngOnChanges() {
1862
1862
  }
1863
1863
  ngOnInit() {
1864
- this.groupsEnabled = this.feature.isFeatureEnabled("ff_groups_improvements");
1864
+ this.groupsEnabled = this.feature?.isFeatureEnabled("ff_groups_improvements");
1865
1865
  this.animation = true;
1866
1866
  setTimeout(() => {
1867
1867
  this.animation = false;
@@ -2119,9 +2119,11 @@ class UserListComponent {
2119
2119
  this.currentTab = tab;
2120
2120
  this.paginationService.currentPage = 1;
2121
2121
  if (this.currentTab == "USER") {
2122
+ this.searchValue = '';
2122
2123
  this.getUsersList({});
2123
2124
  }
2124
2125
  else {
2126
+ this.searchValue = '';
2125
2127
  this.getGroupsList({});
2126
2128
  }
2127
2129
  }
@@ -3121,7 +3123,7 @@ class CreateDashboardComponent {
3121
3123
  this.isSmiley = false;
3122
3124
  }
3123
3125
  ngOnInit() {
3124
- this.groupsEnabled = this.feature.isFeatureEnabled("ff_groups_improvements");
3126
+ this.groupsEnabled = this.feature?.isFeatureEnabled("ff_groups_improvements");
3125
3127
  this.animation = true;
3126
3128
  setTimeout(() => {
3127
3129
  this.animation = false;