mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 10:43:56 +00:00
Fix types and enums not being imported (#224)
This commit is contained in:
@@ -90,6 +90,12 @@ export default function Modal({
|
||||
if (importData.title) {
|
||||
setTitle(importData.title);
|
||||
}
|
||||
if (databases[database].hasEnums && importData.enums) {
|
||||
setEnums(importData.enums);
|
||||
}
|
||||
if (databases[database].hasTypes && importData.types) {
|
||||
setTypes(importData.types);
|
||||
}
|
||||
};
|
||||
|
||||
const loadDiagram = async (id) => {
|
||||
|
Reference in New Issue
Block a user