MSP-3203 fix schema type

This commit is contained in:
veselovnk committed 2024-05-13 10:41:08 +03:00
1 parent 9f33d405d1
commit 6f6359c4c0
2 files changed
+4 -1

No files matched your search

@@ -1,5 +1,8 @@
import { ModalPropsType } from '@widgets/Modal/modal.type.ts'
import { JSONSchema } from '@pages/ModulesPage/module.type.ts'
export interface ConfigSchemaModalPropsType
extends Omit<ModalPropsType, 'title' | 'children'> {
schema: JSONSchema
+1 -1
View File
@@ -81,7 +81,7 @@ const Configurations = () => {
onClose={() => setisShowModalOpen(false)}
/>
<ConfigSchemaModal
schema={currentModule?.configSchema}
schema={currentModule?.configSchema || {}}
open={isModalOpen}
onClose={() => setIsModalOpen(false)}
/>