Skip to content
Snippets Groups Projects
Commit d1f8e6bf authored by tranoris's avatar tranoris
Browse files

Merge branch 'develop' into parent-child-characteristics

parents 5a886eb1 f8db4939
No related branches found
No related tags found
2 merge requests!13Merging 2024Q2_RC into main, creating 2024Q2 Release,!7Parent child characteristics
Pipeline #4629 passed
include:
- project: osl/code/org.etsi.osl.main
ref: main
file:
- ci-templates/default.yml
- ci-templates/build.yml
rules:
- if: '$CI_COMMIT_REF_NAME == "main"'
- project: osl/code/org.etsi.osl.main
ref: develop
file:
- ci-templates/default.yml
- ci-templates/build.yml
rules:
- if: '$CI_COMMIT_REF_NAME == "develop"'
- project: osl/code/org.etsi.osl.main
ref: develop
file:
- ci-templates/default.yml
- ci-templates/build_unprotected.yml
rules:
- if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"'
angular_build:
extends: .angular_build
docker_build:
extends: .docker_build
needs:
- angular_build
......@@ -32,9 +32,8 @@
<ng-container matColumnDef="category">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Category </th>
<td mat-cell *matCellDef="let element">
<span *ngIf="element.category === 'ResourceFacingServiceSpecification' ">RFSS</span>
<span *ngIf="element.category === 'CustomerFacingServiceSpecification' ">CFSS</span>
<td mat-cell *matCellDef="let element">
<span>{{element.category}}</span>
</td>
</ng-container>
......
......@@ -48,7 +48,7 @@ export class ListServiceInventoryComponent implements OnInit {
this.dataSource.sortingDataAccessor = (item, property): string | number => {
switch (property) {
case 'serviceDate': return new Date(item.serviceDate).getTime();
case 'category': return item[property] === 'CustomerFacingServiceSpecification' ? 'CFSS': 'RFSS';
// case 'category': return item[property] === 'CustomerFacingServiceSpecification' ? 'CFSS': 'RFSS';
default: return item[property];
}
}
......
......@@ -357,7 +357,7 @@
There are not any Supporting Resources allocated.
</div>
<p *ngFor="let resource of service?.supportingResource" class="mb-2">
<a *ngIf="resource.id" routerLink='/resources/resource_inventory/{{resource.id}}'>{{resource.name}}</a>
<a *ngIf="resource.id" routerLink='/resources/resource/{{resource.id}}'>{{resource.name}}</a>
<span *ngIf="!resource.id">{{resource.name}}</span>
</p>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment