bfg-common 1.4.675 → 1.4.676

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ import {
13
13
  UI_E_RTaskStatusIcon,
14
14
  } from '~/components/common/pages/tasks/table/lib/models/enums'
15
15
  import type { T_TypeNodes } from '~/lib/models/types'
16
- import * as taskConfig from '~/components/components/templates/tasks/lib/config/taskConfig'
16
+ import * as taskConfig from '~/components/templates/tasks/lib/config/taskConfig' // url из ( sphere, procurator )
17
17
 
18
18
  export const getHeaderDataFunc = (
19
19
  localization: UI_I_Localization
@@ -165,9 +165,10 @@ export const getBodyDataFunc = (
165
165
  return bodyData.map((task, index: number) => {
166
166
 
167
167
  const iconClassName = taskConfig.iconFunc(task.targetType)
168
+ const id = taskConfig.idFunc(task)
168
169
 
169
170
  // const iconClassName = E_NodeIconsByState[`${task.targetType}_Normal`]
170
- const id = task.extra?.created_id || task.target
171
+ // const id = task.extra?.created_id || task.target
171
172
  const targetData = {
172
173
  id,
173
174
  icon: iconClassName,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.675",
4
+ "version": "1.4.676",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",