qpp-style 9.23.1 → 9.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,7 @@ import {
15
15
  IndividualReporting,
16
16
  ManageDocumentsIcon,
17
17
  AuthorContentIcon,
18
+ RegistrationIcon,
18
19
  } from '../../lib/SvgComponents';
19
20
  import { isReviewerRole } from './Content/SelectRole/utils';
20
21
 
@@ -27,6 +28,7 @@ const reportsPortalUrl = `${submissionsUrl}/reports`;
27
28
  const facilityBasedPreviewBaseUrl = `${submissionsUrl}/facility-based-preview`;
28
29
  const viewingToolUrl = '/user/helpdesk-viewing-tool';
29
30
  const contentMgrDashboardUrl = '/user/content-management';
31
+ const registrationUrl = '/user/registration/';
30
32
 
31
33
  const performanceFeedbackUrl = (performanceYear) => {
32
34
  if (performanceYear) {
@@ -71,6 +73,7 @@ const getIcon = (url, linkLabel) => {
71
73
  [reportsPortalUrl]: HardshipIcon,
72
74
  [submissionsUrl]: AccountHomeIcon,
73
75
  [facilityBasedPreviewBaseUrl]: FacilityBasedPreviewIcon,
76
+ [registrationUrl]: RegistrationIcon,
74
77
  '/developers': HelpSupportIcon,
75
78
  '/resources/help-and-support': HelpSupportIcon,
76
79
  '/user/apm-incentive-payments': PaymentIcon,
@@ -290,6 +293,7 @@ const getUrlConditionMap = (userPermissions) => {
290
293
  [feedbackUrl]: userPermissions.hasAuthorizations,
291
294
  '/user/apm-incentive-payments': userPermissions.hasApmPayments,
292
295
  [physicianCompareUrl]: userPermissions.hasNonRegistryAuthorizations,
296
+ [registrationUrl]: userPermissions.hasAuthorizations,
293
297
  [reportsPortalUrl]: userPermissions.hasAuthorizations,
294
298
  [facilityBasedPreviewBaseUrl]: userPermissions.hasAuthorizations,
295
299
  '/user/helpdesk-viewing-tool': userPermissions.canImpersonate,
@@ -330,6 +334,7 @@ module.exports = {
330
334
  feedbackUrl,
331
335
  manageUrl,
332
336
  physicianCompareUrl,
337
+ registrationUrl,
333
338
  performanceFeedbackUrl,
334
339
  facilityBasedPreviewUrl,
335
340
  handleNavigation,
@@ -35,6 +35,7 @@ import {
35
35
  AccountSettings,
36
36
  DetailsIcon,
37
37
  StarIcon,
38
+ RegistrationIcon,
38
39
  CliniciansIcon,
39
40
  GroupReporting,
40
41
  IndividualReporting,
@@ -76,6 +77,7 @@ const Icons = {
76
77
  AccountSettings,
77
78
  DetailsIcon,
78
79
  StarIcon,
80
+ RegistrationIcon,
79
81
  CliniciansIcon,
80
82
  GroupReporting,
81
83
  IndividualReporting,