fix: no logging of hidden fields
This commit is contained in:
parent
0902bb5529
commit
29dca49b02
@ -33,7 +33,7 @@ export default async function (model, options) {
|
||||
if (changed) {
|
||||
changed.forEach((key: string) => {
|
||||
const field = fields.get(key) || fieldsList.find((item: Field) => item.options.field === key);
|
||||
if (field) {
|
||||
if (field && !field.options.hidden && field.options.type !== 'formula') {
|
||||
changes.push({
|
||||
field: field.options,
|
||||
after: model.get(key)
|
||||
|
@ -16,7 +16,7 @@ export default async function (model, options) {
|
||||
if (changed) {
|
||||
changed.forEach((key: string) => {
|
||||
const field = fields.get(key) || fieldsList.find((item: Field) => item.options.field === key);
|
||||
if (field && field.options.type !== 'formula') {
|
||||
if (field && !field.options.hidden && field.options.type !== 'formula') {
|
||||
changes.push({
|
||||
field: field.options,
|
||||
after: model.get(key),
|
||||
|
Loading…
Reference in New Issue
Block a user