Skip to content

Commit

Permalink
NrStatus Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds committed Mar 28, 2022
1 parent 9f23bf3 commit ce3fdc1
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 158 deletions.
300 changes: 144 additions & 156 deletions auth-web/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 auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "0.1.5",
"version": "0.1.6",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
3 changes: 2 additions & 1 deletion auth-web/src/store/modules/business.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export default class BusinessModule extends VuexModule {

/** Returns True if NR is approved for registration. */
const isApprovedForRegistration = (nr): boolean =>
nr.actions.some(action => action.filingName === LearFilingTypes.REGISTRATION)
(nr.state === NrState.APPROVED &&
nr.actions.some(action => action.filingName === LearFilingTypes.REGISTRATION))

/** Returns target conditionally. */
const getTarget = (nr): NrTargetTypes => {
Expand Down

0 comments on commit ce3fdc1

Please sign in to comment.