Skip to content
Snippets Groups Projects
Commit f3f69688 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(carto): structure-details missing display placeholder and correct link for profile

parent 922601fc
No related branches found
No related tags found
3 merge requests!418V2.1.0,!400V2.0,!230V2.0
<div class="app-container">
<app-header></app-header>
<div class="app-body">
<router-outlet name="left-pane"></router-outlet>
<router-outlet></router-outlet>
<router-outlet name="print"></router-outlet>
<router-outlet name="footer"></router-outlet>
......
......@@ -81,7 +81,7 @@
<div class="structureCard" *ngFor="let s of structures; let i = index">
<div class="structureInfo" fxLayout="column" fxLayoutGap="14px">
<div fxLayout="row" fxLayoutAlign="space-between start" fxLayoutGap="20px">
<a class="structureName" routerLink="/acteurs" [state]="{ data: s.structure }">{{
<a class="structureName" [routerLink]="['/profile']" [queryParams]="{ id: s.structure._id }">{{
s.structure.structureName
}}</a>
<app-structure-options-modal
......
import { animate, AUTO_STYLE, state, style, transition, trigger } from '@angular/animations';
import { Location } from '@angular/common';
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import * as _ from 'lodash';
......@@ -76,7 +75,6 @@ export class StructureDetailsComponent implements OnInit {
public fullScreen = false;
constructor(
private location: Location,
private printService: PrintService,
private searchService: SearchService,
private structureService: StructureService,
......
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