diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-12 23:18:23 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-12 23:18:23 +0000 |
| commit | a072c91cc0dc26e417c51f666e8547e08ef40942 (patch) | |
| tree | 1a7296d2acb9038b1928cc1f0f5a08aa6b92b222 /components/editor/task/EditorTaskConfiguration.vue | |
| parent | a4052ffee8bc7c6c8a69eba5120b5c6c2d951b0f (diff) | |
Add import from file system
Diffstat (limited to 'components/editor/task/EditorTaskConfiguration.vue')
| -rw-r--r-- | components/editor/task/EditorTaskConfiguration.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/editor/task/EditorTaskConfiguration.vue b/components/editor/task/EditorTaskConfiguration.vue index bda75f4..5313767 100644 --- a/components/editor/task/EditorTaskConfiguration.vue +++ b/components/editor/task/EditorTaskConfiguration.vue @@ -32,7 +32,7 @@ const requiredFields = computed(() => { // }); const remainingGivenFields = computed(() => { - return Object.keys(taskConfig.value).filter((fieldName) => !requiredFields.value.includes(fieldName)); + return Object.keys(taskConfig.value).filter((fieldName) => !requiredFields.value.includes(fieldName) && fieldName in taskDefintion.value.configuration); }); const configKeysOptions = computed(() => Object.keys(taskDefintion.value.configuration).filter((key) => !Object.keys(taskConfig.value).some((fieldName) => fieldName === key))); |
