117544: rename directive to be clear it should currently only be used for buttons

This commit is contained in:
Jens Vannerum
2024-09-16 13:45:33 +02:00
parent 685e6d83c5
commit f65d6c5775
86 changed files with 170 additions and 170 deletions

View File

@@ -34,7 +34,7 @@ import { FeatureID } from '../../core/data/feature-authorization/feature-id';
import { NoContent } from '../../core/shared/NoContent.model';
import { DSONameService } from '../../core/breadcrumbs/dso-name.service';
import { DSONameServiceMock, UNDEFINED_NAME } from '../../shared/mocks/dso-name.service.mock';
import {DisabledDirective} from '../../shared/disabled-directive';
import {BtnDisabledDirective} from '../../shared/btn-disabled.directive';
describe('GroupsRegistryComponent', () => {
let component: GroupsRegistryComponent;
@@ -172,7 +172,7 @@ describe('GroupsRegistryComponent', () => {
}
}),
],
declarations: [GroupsRegistryComponent, DisabledDirective],
declarations: [GroupsRegistryComponent, BtnDisabledDirective],
providers: [GroupsRegistryComponent,
{ provide: DSONameService, useValue: new DSONameServiceMock() },
{ provide: EPersonDataService, useValue: ePersonDataServiceStub },