fix
This commit is contained in:
parent
17f110d345
commit
f14b7325a5
1 changed files with 2 additions and 0 deletions
|
|
@ -179,6 +179,7 @@ export class kpiLinkController extends Controller {
|
|||
const formattedResponse = {
|
||||
id: kpiLink.id,
|
||||
groupName: kpiLink.kpiGroup.nameGroupKPI,
|
||||
groupId: kpiLink.kpiGroup.id,
|
||||
positions: kpiLink.positions.map(position => ({
|
||||
id: position.id,
|
||||
name: position.name
|
||||
|
|
@ -269,6 +270,7 @@ export class kpiLinkController extends Controller {
|
|||
const formattedResponse = kpiLink.map((item) => ({
|
||||
id: item.id,
|
||||
groupName: item.kpiGroup.nameGroupKPI,
|
||||
groupId: item.kpiGroup.id,
|
||||
positions: item.positions.map(position => ({
|
||||
id: position.id,
|
||||
name: position.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue