From 723a70dd28f661fd54e6a0ef06aaca5fcd14db49 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Wed, 16 Feb 2022 22:18:54 +0530 Subject: [PATCH] fix: revision content screen copy (#876) --- .../RevisionHistoryModal/RevisionContentLocked.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx b/app/assets/javascripts/components/RevisionHistoryModal/RevisionContentLocked.tsx index 3229b2fe3..33fc75c5c 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"; } }; @@ -37,7 +37,9 @@ export const RevisionContentLocked: FunctionComponent<{
Can't access this version
{getPremiumContentCopy( - !isUserSubscriptionCanceled && !isUserSubscriptionExpired + !isUserSubscriptionCanceled && + !isUserSubscriptionExpired && + userSubscriptionName ? userSubscriptionName : 'free' )}