bfg-common 1.4.677 → 1.4.679

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.
@@ -163,20 +163,21 @@ export const getBodyDataFunc = (
163
163
  const { $formattedDatetime } = useNuxtApp() as any
164
164
 
165
165
  return bodyData.map((task, index: number) => {
166
-
167
166
  const iconClassName = taskConfig.iconFunc(task.targetType)
168
167
  const id = taskConfig.idFunc(task)
169
168
  const nav = taskConfig.navFunc(task.targetType)
169
+ const type = taskConfig.typeFunc(task.targetType)
170
170
 
171
171
  // const iconClassName = E_NodeIconsByState[`${task.targetType}_Normal`]
172
172
  // const id = task.extra?.created_id || task.target
173
173
  const targetData = {
174
174
  id,
175
175
  nav,
176
+ type,
176
177
  icon: iconClassName,
177
178
  // nav: UI_E_TabsByType[task.targetType],
178
- type: task.targetType,
179
- isLink: true,
179
+ // type: task.targetType,
180
+ isLink: !!iconClassName,
180
181
  testId: `${task.targetType}-item`,
181
182
  }
182
183
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.677",
4
+ "version": "1.4.679",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",