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 = {
|
const formattedResponse = {
|
||||||
id: kpiLink.id,
|
id: kpiLink.id,
|
||||||
groupName: kpiLink.kpiGroup.nameGroupKPI,
|
groupName: kpiLink.kpiGroup.nameGroupKPI,
|
||||||
|
groupId: kpiLink.kpiGroup.id,
|
||||||
positions: kpiLink.positions.map(position => ({
|
positions: kpiLink.positions.map(position => ({
|
||||||
id: position.id,
|
id: position.id,
|
||||||
name: position.name
|
name: position.name
|
||||||
|
|
@ -269,6 +270,7 @@ export class kpiLinkController extends Controller {
|
||||||
const formattedResponse = kpiLink.map((item) => ({
|
const formattedResponse = kpiLink.map((item) => ({
|
||||||
id: item.id,
|
id: item.id,
|
||||||
groupName: item.kpiGroup.nameGroupKPI,
|
groupName: item.kpiGroup.nameGroupKPI,
|
||||||
|
groupId: item.kpiGroup.id,
|
||||||
positions: item.positions.map(position => ({
|
positions: item.positions.map(position => ({
|
||||||
id: position.id,
|
id: position.id,
|
||||||
name: position.name
|
name: position.name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue