eztech-core-components 1.0.50 → 1.0.51
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.
- package/package.json +1 -1
- package/utils/table-helper.js +3 -1
package/package.json
CHANGED
package/utils/table-helper.js
CHANGED
|
@@ -1618,6 +1618,7 @@ export const getAsyncData = async ({
|
|
|
1618
1618
|
}
|
|
1619
1619
|
const showColumns = getColumns(columns, [], fields)
|
|
1620
1620
|
const isDetail = showColumns.some(c => c.col_field.includes('html_') && !c.col_field.includes('mini')) || config_group_fields?.some(c => ['SUB_TABLE', 'CUSTOM', 'SUB_TABLE_LOG'].includes(c.group_type))
|
|
1621
|
+
const isRegYear = columns.some(c => c.col_field === 'year' && c.col_default === 'current_reg_year')
|
|
1621
1622
|
return {
|
|
1622
1623
|
configProjectId: project._id,
|
|
1623
1624
|
project,
|
|
@@ -1648,6 +1649,7 @@ export const getAsyncData = async ({
|
|
|
1648
1649
|
isXypLog,
|
|
1649
1650
|
customExtraFields,
|
|
1650
1651
|
statuses,
|
|
1651
|
-
filters
|
|
1652
|
+
filters,
|
|
1653
|
+
isRegYear
|
|
1652
1654
|
}
|
|
1653
1655
|
}
|