Fix import JSON missing type (#872)

This commit is contained in:
XC
2026-02-13 16:02:08 +08:00
committed by GitHub
parent d81f6ba43a
commit 1c2c3a517b

View File

@@ -916,7 +916,10 @@ export default function ControlPanel({
import_from: {
children: [
{
function: fileImport,
function: () => {
setModal(MODAL.IMPORT);
setImportFrom(IMPORT_FROM.JSON);
},
name: "JSON",
disabled: layout.readOnly,
},