psp-10833 add logic to override version compatibility warnings on fro…#5207
psp-10833 add logic to override version compatibility warnings on fro…#5207devinleighsmith merged 4 commits intobcgov:devfrom
Conversation
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5207 |
1 similar comment
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5207 |
| const match = apiDbCompatibility.find(entry => entry.apiVersion === apiBuildVersion); | ||
| match?.databaseVersions.forEach(dbVersion => allowedDbVersions.add(dbVersion)); | ||
| } | ||
| console.debug(import.meta.env.VITE_API_DB_VERSION_COMPATIBILITY); |
There was a problem hiding this comment.
please remove console.debug
| const [version, setVersion] = React.useState<IApiVersion>(null); | ||
|
|
||
| const apiDbCompatibility = React.useMemo( | ||
| () => parseApiDbCompatibility(import.meta.env.VITE_API_DB_VERSION_COMPATIBILITY), |
There was a problem hiding this comment.
question - how are we going to populate this VITE_ variable in OpenShift? I believe these are hardcoded into JavaScript code at the time of build
There was a problem hiding this comment.
fair point, I've updated this to use the tenant json.
2b03136 to
a952beb
Compare
|
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5207 |




…ntend.