Skip to content

Commit

Permalink
Add in clear step on import
Browse files Browse the repository at this point in the history
  • Loading branch information
nealfennimore committed Dec 7, 2024
1 parent 10276f9 commit 5c2af63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/app/components/export_import.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ export const Import = () => {
return;
}

await IDB.securityRequirements.clear();
await IDB.requirements.clear();

const requirements: Record<string, IDBRequirement> = {};

for (const secReq of payload.securityRequirements) {
Expand Down

0 comments on commit 5c2af63

Please sign in to comment.