Skip to content

Commit

Permalink
Fixing void status issue on support
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinMacaulay committed Oct 4, 2024
1 parent e2350b2 commit 0ac8144
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions responders/src/UI/embc-responder/proxy.dev.support.conf.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"/api": {
"target": "https://era-responders-dev.apps.silver.devops.gov.bc.ca",
"target": "https://dev-sup-era-responders.apps.silver.devops.gov.bc.ca",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
},

"/env/info.json": {
"target": "https://era-responders-dev.apps.silver.devops.gov.bc.ca",
"target": "https://dev-sup-era-responders.apps.silver.devops.gov.bc.ca",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
},
"/version": {
"target": "https://era-responders-dev.apps.silver.devops.gov.bc.ca",
"target": "https://dev-sup-era-responders.apps.silver.devops.gov.bc.ca",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ export class SupportDetailsComponent implements OnInit, OnDestroy {
const sFrom = moment(s.from);
const sTo = moment(s.to);
return (
s.status !== SupportStatus.Void &&
s.category === category &&
((sFrom.isSameOrAfter(from) && sFrom.isSameOrBefore(to)) ||
(sTo.isSameOrAfter(from) && sTo.isSameOrBefore(to)) ||
Expand Down

0 comments on commit 0ac8144

Please sign in to comment.