mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645]removed unwanted space
This commit is contained in:
committed by
Anukriti Singh
parent
71bb551deb
commit
a03aba0a2a
+1
-1
@@ -38,7 +38,7 @@
|
|||||||
<div class="adf-existing-categories-panel" *ngIf="existingCategoriesPanelVisible">
|
<div class="adf-existing-categories-panel" *ngIf="existingCategoriesPanelVisible">
|
||||||
<ng-container *ngIf="isCRUDMode && (!existingCategoriesLoading || existingCategories)">
|
<ng-container *ngIf="isCRUDMode && (!existingCategoriesLoading || existingCategories)">
|
||||||
<span class="adf-create-category-label"
|
<span class="adf-create-category-label"
|
||||||
(click)="addCategory()"
|
(click)="addCategory()"
|
||||||
[hidden]="categoryNameControl.invalid || typing">
|
[hidden]="categoryNameControl.invalid || typing">
|
||||||
{{ 'CATEGORIES_MANAGEMENT.GENERIC_CREATE' | translate : { name: categoryNameControl.value } }}
|
{{ 'CATEGORIES_MANAGEMENT.GENERIC_CREATE' | translate : { name: categoryNameControl.value } }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
+1
-1
@@ -308,7 +308,7 @@ describe('CategoriesManagementComponent', () => {
|
|||||||
it('should have no required validator set for category control', () => {
|
it('should have no required validator set for category control', () => {
|
||||||
expect(component.categoryNameControl.hasValidator(Validators.required)).toBeFalse();
|
expect(component.categoryNameControl.hasValidator(Validators.required)).toBeFalse();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should display validation error when searching for empty category', fakeAsync(() => {
|
it('should display validation error when searching for empty category', fakeAsync(() => {
|
||||||
typeCategory(' ');
|
typeCategory(' ');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user