mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645]removed unwanted code
This commit is contained in:
committed by
Anukriti Singh
parent
5c7d2e5222
commit
ec005f5959
-2
@@ -224,8 +224,6 @@ export class CategoriesManagementComponent implements OnInit, OnDestroy {
|
||||
const newCat = new Category({ id: newCatName, name: newCatName });
|
||||
this.categories.push(newCat);
|
||||
this.clearCategoryNameInput();
|
||||
this.categoryNameControl.setValue('');
|
||||
this.categoryNameControl.markAsUntouched();
|
||||
this._existingCategories = null;
|
||||
this.categoriesChange.emit(this.categories);
|
||||
}
|
||||
|
||||
+1
-1
@@ -722,7 +722,7 @@ describe('ContentMetadataComponent', () => {
|
||||
|
||||
it('should hide card views group when the grouped properties are empty', async () => {
|
||||
|
||||
spyOn(contentMetadataService, 'getGroupedProperties');
|
||||
spyOn(contentMetadataService, 'getGroupedProperties').and.stub();
|
||||
|
||||
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user