#555 import from demo library (local) does not work

This commit is contained in:
agriyadev5
2021-06-03 13:16:04 +05:30
parent 3804028a7b
commit 1ab6e09010
2 changed files with 2 additions and 1 deletions

View File

@@ -519,7 +519,7 @@ export const importSvgString = function (xmlString) {
const batchCmd = new BatchCommand('Import Image');
let symbol;
if (useExisting) {
({ symbol } = svgContext_.getImportIds());
symbol = svgContext_.getImportIds(uid).symbol;
ts = svgContext_.getImportIds(uid).xform;
} else {
// convert string into XML document