MSP-3203 fix schema type
This commit is contained in:
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
|
||||
|
||||
@@ -81,7 +81,7 @@ const Configurations = () => {
|
||||
onClose={() => setisShowModalOpen(false)}
|
||||
/>
|
||||
<ConfigSchemaModal
|
||||
schema={currentModule?.configSchema}
|
||||
schema={currentModule?.configSchema || {}}
|
||||
open={isModalOpen}
|
||||
onClose={() => setIsModalOpen(false)}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user