Skip to content
Snippets Groups Projects
Commit 22c25c01 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix(carto): check structureType

parent cc3006bc
No related branches found
No related tags found
2 merge requests!783V3.0.0,!661fix(carto): check structureType
......@@ -6,8 +6,9 @@
<div class="structureInfos">
<p class="structureName">{{ structure.structureName }}</p>
<app-v3-tag-item
*ngIf="structure.structureType?.value"
[label]="structure.structureType?.value"
[clickable]="false"
[label]="structure.structureType?.category"
[size]="'small'"
[color]="'red'"
/>
......
......@@ -26,6 +26,7 @@
<div class="structureDetails">
<h2 class="structureName">{{ elt.structure.structureName }}</h2>
<app-v3-tag-item
*ngIf="elt.structure.structureType?.value"
[clickable]="false"
[label]="elt.structure.structureType.value"
[size]="'small'"
......
......@@ -13,7 +13,12 @@
<span class="structureName" [ngClass]="{ notClaimed: structure.hasNoUserDN && profileService.isAdmin() }">
{{ structure.structureName }}
</span>
<app-v3-tag-item [label]="structure.structureType.value" [color]="'red'" [size]="'small'" />
<app-v3-tag-item
*ngIf="structure.structureType?.value"
[label]="structure.structureType.value"
[color]="'red'"
[size]="'small'"
/>
<div class="inline">
<app-svg-icon [type]="'tags'" [icon]="'address'" [iconClass]="'icon-20'" />
<ng-container *ngIf="structure.distance">
......
......@@ -30,6 +30,7 @@
.structureDetails {
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
.structureName {
@include font-bold-18;
......
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