Show database type on open
This commit is contained in:
parent
6c1ff1518f
commit
c0584f11c6
@ -337,7 +337,7 @@ export default function Modal({
|
|||||||
(modal === MODAL.IMPORT_SRC && importSource.src === ""),
|
(modal === MODAL.IMPORT_SRC && importSource.src === ""),
|
||||||
}}
|
}}
|
||||||
cancelText={t("cancel")}
|
cancelText={t("cancel")}
|
||||||
width={modal === MODAL.NEW ? 740 : 600}
|
width={modal === MODAL.NEW || modal === MODAL.OPEN ? 740 : 600}
|
||||||
bodyStyle={{ maxHeight: window.innerHeight - 280, overflow: "auto" }}
|
bodyStyle={{ maxHeight: window.innerHeight - 280, overflow: "auto" }}
|
||||||
>
|
>
|
||||||
{getModalBody()}
|
{getModalBody()}
|
||||||
|
@ -37,6 +37,7 @@ export default function Open({ selectedDiagramId, setSelectedDiagramId }) {
|
|||||||
<th>{t("name")}</th>
|
<th>{t("name")}</th>
|
||||||
<th>{t("last_modified")}</th>
|
<th>{t("last_modified")}</th>
|
||||||
<th>{t("size")}</th>
|
<th>{t("size")}</th>
|
||||||
|
<th>{t("type")}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -63,6 +64,7 @@ export default function Open({ selectedDiagramId, setSelectedDiagramId }) {
|
|||||||
d.lastModified.toLocaleTimeString()}
|
d.lastModified.toLocaleTimeString()}
|
||||||
</td>
|
</td>
|
||||||
<td className="py-1">{getDiagramSize(d)}</td>
|
<td className="py-1">{getDiagramSize(d)}</td>
|
||||||
|
<td className="py-1">{d.database ?? 'generic'}</td>
|
||||||
</tr>
|
</tr>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
Loading…
Reference in New Issue
Block a user