From 5f28fc97730cd8f687de69b5a4ecb06d0bd2f7c2 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Tue, 7 Feb 2023 17:53:29 +0530 Subject: [PATCH] chore: fix per-tag preferences for offline subscriptions --- .../Components/ContentListView/Header/DisplayOptionsMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/javascripts/Components/ContentListView/Header/DisplayOptionsMenu.tsx b/packages/web/src/javascripts/Components/ContentListView/Header/DisplayOptionsMenu.tsx index ca2a2ad83..96c15ddce 100644 --- a/packages/web/src/javascripts/Components/ContentListView/Header/DisplayOptionsMenu.tsx +++ b/packages/web/src/javascripts/Components/ContentListView/Header/DisplayOptionsMenu.tsx @@ -42,7 +42,7 @@ const DisplayOptionsMenu: FunctionComponent = ({ : selectedTag.preferences const [currentMode, setCurrentMode] = useState(selectedTagPreferences ? 'tag' : 'global') const [preferences, setPreferences] = useState({}) - const hasSubscription = application.hasValidSubscription() + const hasSubscription = application.features.hasFirstPartySubscription() const controlsDisabled = currentMode === 'tag' && !hasSubscription const isDailyEntry = selectedTagPreferences?.entryMode === 'daily'