Skip to content
Snippets Groups Projects
Commit 8ba6f016 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6311 OZG-6534 Remove unnecessary ngIf

parent 5651a92b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@
| hasLink: collaborationListLinkRel.CREATE_COLLABORATION_REQUEST
"
>
<ng-container *ngIf="!collaboration" data-test-id="collaboration-in-progres">
<ng-template #anfrageErstellenButton>
<ods-button
variant="outline"
......@@ -25,7 +24,6 @@
></alfa-collaboration-request-form>
</ng-container>
</ng-container>
</ng-container>
<ng-container *ngIf="collaboration">
<div data-test-id="collaboration-request-result">
<div class="flex items-center gap-3">
......
......@@ -31,7 +31,6 @@ describe('CollaborationInVorgangComponent', () => {
const anfrageErstellenButton: string = getDataTestIdAttributeOf('anfrage-erstellen-button');
const collaborationRequestForm: string = getDataTestIdOf('collaboration-request-form');
const collaborationRequestResult: string = getDataTestIdOf('collaboration-request-result');
const collaborationInProgress: string = getDataTestIdOf('collaboration-in-progress');
const collaborationListResource: CollaborationListResource = createCollaborationListResource();
......@@ -168,14 +167,6 @@ describe('CollaborationInVorgangComponent', () => {
existsAsHtmlElement(fixture, collaborationRequestResult);
});
it('should not show collaboration in progress', () => {
component.collaboration = undefined;
fixture.detectChanges();
notExistsAsHtmlElement(fixture, collaborationRequestResult);
});
});
describe('set collaboration', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment