feat(core): Display conditions in displayOptions (no-changelog) (#7888)

This commit is contained in:
Michael Kret
2024-01-24 18:04:46 +02:00
committed by GitHub
parent d6deceacde
commit ed7d6b7b3a
6 changed files with 2131 additions and 63 deletions

View File

@@ -44,7 +44,7 @@ export const employeeCreateDescription: EmployeeProperties = [
},
default: '',
},
...createEmployeeSharedDescription(true),
...(createEmployeeSharedDescription(true) as EmployeeProperties),
{
displayName: 'Additional Fields',
name: 'additionalFields',

View File

@@ -30,7 +30,7 @@ export const employeeUpdateDescription: EmployeeProperties = [
description:
'Whether the employee to create was added to a pay schedule synced with Trax Payroll',
},
...updateEmployeeSharedDescription(true),
...(updateEmployeeSharedDescription(true) as EmployeeProperties),
{
displayName: 'Update Fields',
name: 'updateFields',