Skip to content

Commit

Permalink
PM-797: remove saved owner id cookie on form start (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilmore-phi authored Jan 8, 2025
1 parent e6049ac commit 39c0ca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/plans-quote/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ async function getPurchaseSummary(ownerId) {
}

export default function formDecoration(block) {
// if we are not editing, is not summary page and multipet is false
if (!isSummaryPage() && !isEditing && !isMultiPet) {
// if we are not editing, is not summary page
if (!isSummaryPage() && !isEditing) {
// delete the saved owner id cookie
deleteCookie(COOKIE_NAME_SAVED_OWNER_ID);
}
Expand Down

0 comments on commit 39c0ca1

Please sign in to comment.