|
|
@@ -25,7 +25,6 @@ export const ProjectInvite = (args: any) => {
|
|
|
token: 'abcdef',
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -44,7 +43,6 @@ export const ProjectInviteNetworkError = (args: any) => {
|
|
|
token: 'abcdef',
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -58,7 +56,6 @@ export const Wfh2020UpgradeOffer = (args: any) => {
|
|
|
_id: 1,
|
|
|
templateKey: 'wfh_2020_upgrade_offer',
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -77,7 +74,6 @@ export const IPMatchedAffiliationSsoEnabled = (args: any) => {
|
|
|
ssoEnabled: true,
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -96,7 +92,6 @@ export const IPMatchedAffiliationSsoDisabled = (args: any) => {
|
|
|
ssoEnabled: false,
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -113,7 +108,6 @@ export const TpdsFileLimit = (args: any) => {
|
|
|
projectName: 'Abc Project',
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -130,7 +124,6 @@ export const DropBoxDuplicateProjectNames = (args: any) => {
|
|
|
projectName: 'Abc Project',
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -144,7 +137,6 @@ export const DropBoxUnlinkedDueToLapsedReconfirmation = (args: any) => {
|
|
|
_id: 1,
|
|
|
templateKey: 'notification_dropbox_unlinked_due_to_lapsed_reconfirmation',
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -161,7 +153,6 @@ export const NotificationGroupInvitation = (args: any) => {
|
|
|
inviterName: 'John Doe',
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -178,7 +169,6 @@ export const NotificationGroupInvitationCancelSubscription = (args: any) => {
|
|
|
inviterName: 'John Doe',
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
window.metaAttributesCache.set('ol-hasIndividualRecurlySubscription', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
@@ -190,7 +180,6 @@ export const NotificationGroupInvitationCancelSubscription = (args: any) => {
|
|
|
export const NonSpecificMessage = (args: any) => {
|
|
|
useFetchMock(commonSetupMocks)
|
|
|
setCommonMeta({ _id: 1, html: 'Non specific message' })
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -204,7 +193,6 @@ export const InstitutionSsoAvailable = (args: any) => {
|
|
|
_id: 1,
|
|
|
templateKey: 'notification_institution_sso_available',
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -218,7 +206,6 @@ export const InstitutionSsoLinked = (args: any) => {
|
|
|
_id: 1,
|
|
|
templateKey: 'notification_institution_sso_linked',
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -232,7 +219,6 @@ export const InstitutionSsoNonCanonical = (args: any) => {
|
|
|
_id: 1,
|
|
|
templateKey: 'notification_institution_sso_non_canonical',
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -246,7 +232,6 @@ export const InstitutionSsoAlreadyRegistered = (args: any) => {
|
|
|
_id: 1,
|
|
|
templateKey: 'notification_institution_sso_already_registered',
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -264,7 +249,6 @@ export const InstitutionSsoError = (args: any) => {
|
|
|
tryAgain: true,
|
|
|
},
|
|
|
})
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -275,7 +259,6 @@ export const InstitutionSsoError = (args: any) => {
|
|
|
export const ResendConfirmationEmail = (args: any) => {
|
|
|
useFetchMock(reconfirmationSetupMocks)
|
|
|
setReconfirmationMeta()
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -286,7 +269,6 @@ export const ResendConfirmationEmail = (args: any) => {
|
|
|
export const ResendConfirmationEmailNetworkError = (args: any) => {
|
|
|
useFetchMock(errorsMocks)
|
|
|
setReconfirmationMeta()
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -300,7 +282,6 @@ export const ReconfirmAffiliation = (args: any) => {
|
|
|
window.metaAttributesCache.set('ol-allInReconfirmNotificationPeriods', [
|
|
|
fakeReconfirmationUsersData,
|
|
|
])
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -314,7 +295,6 @@ export const ReconfirmAffiliationNetworkError = (args: any) => {
|
|
|
window.metaAttributesCache.set('ol-allInReconfirmNotificationPeriods', [
|
|
|
fakeReconfirmationUsersData,
|
|
|
])
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|
|
|
@@ -326,7 +306,6 @@ export const ReconfirmedAffiliationSuccess = (args: any) => {
|
|
|
useFetchMock(reconfirmAffiliationSetupMocks)
|
|
|
setReconfirmAffiliationMeta()
|
|
|
window.metaAttributesCache.set('ol-userEmails', [fakeReconfirmationUsersData])
|
|
|
- window.metaAttributesCache.set('ol-newNotificationStyle', true)
|
|
|
return (
|
|
|
<ProjectListProvider>
|
|
|
<UserNotifications {...args} />
|