a few small changes, fixed a bug.

This commit is contained in:
Luke Hagar
2024-05-29 12:12:48 -07:00
parent 6a7ec25280
commit ff5b0a5685
4 changed files with 41 additions and 30 deletions

View File

@@ -11,8 +11,9 @@
};
}
console.log($selectedSpec);
$selectedSpec.id = undefined;
db.apiSpecs.put($selectedSpec);
const newSpec = structuredClone($selectedSpec);
newSpec.id = undefined;
db.apiSpecs.put(newSpec);
}
</script>