-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXUI-2640 - Add exclusion list code for doc store url #1867
base: master
Are you sure you want to change the base?
Conversation
let docStoreUrl = ''; | ||
this.caseNotifierService.caseView.subscribe((caseDetails) => { | ||
const caseType = caseDetails.case_type.id; | ||
const documentSecureModeCaseTypeExclusions = this.appConfig.getDocumentSecureModeCaseTypeExclusions().split(','); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be extra cautious and use
this.appConfig.getDocumentSecureModeCaseTypeExclusions()?.split(',');
and
const isDocumentOnExclusionList = documentSecureModeCaseTypeExclusions?.includes(caseType);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the additional '?'
e1261ce
|
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EXUI-2640
Change description
Add exclusion list code to docstore getURL()
Does this PR introduce a breaking change? (check one with "x")