ananzhusen 1 anno fa
parent
commit
1053dce59a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/views/components/Header.vue

+ 2 - 1
src/views/components/Header.vue

@@ -1378,6 +1378,7 @@ const saveDownload = async () => {
         }
       });
     } else {
+      let svgnames =  purchased.map(i=>i.name);
       list.forEach((item) => {
         if (
           item.data &&
@@ -1388,7 +1389,7 @@ const saveDownload = async () => {
           let meta2dData = JSON.parse(item.data);
           meta2dData.pens.forEach((pen) => {
             if (pen.name === 'svgPath' && pen.svgUrl) {
-              if ([...prePayList.svgPens].includes(pen.svgUrl)) {
+              if (svgnames.includes(pen.svgUrl)) {
                 pen.pathId = null;
               }
             }