From b559258e3b06a9060f70fbb8715b907cc65d0e4d Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Wed, 16 Feb 2022 22:12:05 +0530 Subject: [PATCH 1/2] fix: revision content screen copy --- .../components/RevisionHistoryModal/RevisionContentLocked.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx b/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx index 3229b2fe399..6b63b2e452e 100644 --- a/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx +++ b/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx @@ -37,7 +37,9 @@ export const RevisionContentLocked: FunctionComponent<{
Can't access this version
{getPremiumContentCopy( - !isUserSubscriptionCanceled && !isUserSubscriptionExpired + !isUserSubscriptionCanceled && + !isUserSubscriptionExpired && + userSubscriptionName ? userSubscriptionName : 'free' )} From 7c57f81f04cf0f0de384a435c6bd82f414d44a59 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Wed, 16 Feb 2022 22:14:42 +0530 Subject: [PATCH 2/2] feat: update copy --- .../components/RevisionHistoryModal/RevisionContentLocked.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx b/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx index 6b63b2e452e..33fc75c5c7f 100644 --- a/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx +++ b/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx @@ -11,7 +11,7 @@ const getPlanHistoryDuration = (planName: string | undefined) => { case 'Plus': return '365 days'; default: - return 'the current session'; + return "the current session's changes"; } };