Skip to content

Commit

Permalink
18735 - Fix rules showing up as being changed, when it's on paper (#549)
Browse files Browse the repository at this point in the history
* Fix rules being changed, when it's on paper

* Fix bad code

* add in extra || null
  • Loading branch information
seeker25 authored Nov 29, 2023
1 parent b39df19 commit 21e0958
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-edit-ui",
"version": "4.7.11",
"version": "4.7.12",
"private": true,
"appName": "Edit UI",
"sbcName": "SBC Common Components",
Expand Down
4 changes: 2 additions & 2 deletions src/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,8 @@ export const useStore = defineStore('store', {

hasSpecialResolutionRulesChanged (): boolean {
return this.getSpecialResolutionRules?.includedInResolution ||
this.getSpecialResolutionRules?.key !==
this.getEntitySnapshot?.businessDocuments?.documentsInfo?.certifiedRules?.key
(this.getSpecialResolutionRules?.key || null) !==
(this.getEntitySnapshot?.businessDocuments?.documentsInfo?.certifiedRules?.key || null)
},

// Grab the latest resolution from the entity snapshot.
Expand Down

0 comments on commit 21e0958

Please sign in to comment.