Fixed navigation to single dfg project from person projects
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -26,10 +26,7 @@
|
||||
[detailTemplate]="dfgProjectDetailRowTmp"
|
||||
[activeSortKey]="urlSortKey()"
|
||||
[sortDirection]="urlSortDirection()"
|
||||
(sortChange)="handleSortChange($event)"
|
||||
[navigatePrefix]="'projects/dfg/'"
|
||||
[navigateField]="'id'"/>
|
||||
|
||||
(sortChange)="handleSortChange($event)" />
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
<mat-paginator
|
||||
@@ -42,7 +39,11 @@
|
||||
</div>
|
||||
|
||||
<ng-template #dfgProjectActionsTmp let-element>
|
||||
<a href="{{ element.link }}" target="_blank" mat-icon-button color="primary">
|
||||
<a
|
||||
[routerLink]="['/projects/dfg', element.id]"
|
||||
target="_blank"
|
||||
mat-icon-button
|
||||
color="primary">
|
||||
<mat-icon>open_in_new</mat-icon>
|
||||
</a>
|
||||
</ng-template>
|
||||
|
||||
@@ -20,7 +20,7 @@ import { MatTabsModule } from '@angular/material/tabs';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { DebounceDirective } from '../../directives/debounce.directive';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
||||
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
import { MatPaginatorModule, PageEvent } from '@angular/material/paginator';
|
||||
import { Sort, SortDirection } from '@angular/material/sort';
|
||||
@@ -37,6 +37,7 @@ import { Sort, SortDirection } from '@angular/material/sort';
|
||||
MatInputModule,
|
||||
DebounceDirective,
|
||||
MatPaginatorModule,
|
||||
RouterModule,
|
||||
],
|
||||
templateUrl: './person-projects.component.html',
|
||||
styleUrl: './person-projects.component.scss',
|
||||
|
||||
Reference in New Issue
Block a user