mirror of
https://github.com/LukeHagar/OpenAPI.gg.git
synced 2025-12-07 04:20:32 +00:00
a few small changes, fixed a bug.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user