Skip to content
Snippets Groups Projects
Commit 45a7a2f4 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

fix function

parent c08d21ff
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,12 @@ export class LinkedResourceListComponent implements OnInit { ...@@ -87,7 +87,12 @@ export class LinkedResourceListComponent implements OnInit {
} }
getUsersVisaCircuit(row: any) { getUsersVisaCircuit(row: any) {
return row.visaCircuit.map((item: any) => item.userLabel); if (row.visaCircuit.length > 0) {
return row.visaCircuit.map((item: any) => item.userLabel);
} else {
return '';
}
} }
unlinkResource(row: any) { unlinkResource(row: any) {
......
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