mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
error in console resolved which was occuring after selecting date and time
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</mat-slide-toggle>
|
||||
</div>
|
||||
<div
|
||||
*ngIf="isExpiryDateToggleChecked"
|
||||
[style.display]="isExpiryDateToggleChecked ? 'block' : 'none'"
|
||||
data-automation-id="adf-slide-toggle-checked"
|
||||
class="adf-share-link__date-time-container">
|
||||
<mat-form-field class="adf-full-width adf-float-label" floatLabel='always'>
|
||||
|
||||
@@ -286,7 +286,7 @@ describe('ShareDialogComponent', () => {
|
||||
|
||||
expect(fixture.nativeElement.querySelector('.mat-slide-toggle[data-automation-id="adf-expire-toggle"]')
|
||||
.classList).toContain('mat-disabled');
|
||||
expect(fixture.nativeElement.querySelector('[data-automation-id="adf-slide-toggle-checked"]')).toBe(null);
|
||||
expect(fixture.nativeElement.querySelector('[data-automation-id="adf-slide-toggle-checked"]').style.display).toEqual('none');
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user