From 8ca9e37ae1bc70f002c63d3f2a00bdcaa99ba5cb Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Sat, 7 May 2022 17:53:30 +0530 Subject: [PATCH] fix: minor files related fixes (#1016) --- .../Components/AttachedFilesPopover/AttachedFilesPopover.tsx | 2 +- app/assets/javascripts/UIModels/AppState/FeaturesState.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/Components/AttachedFilesPopover/AttachedFilesPopover.tsx b/app/assets/javascripts/Components/AttachedFilesPopover/AttachedFilesPopover.tsx index f3e471b0712..aeeeb675a36 100644 --- a/app/assets/javascripts/Components/AttachedFilesPopover/AttachedFilesPopover.tsx +++ b/app/assets/javascripts/Components/AttachedFilesPopover/AttachedFilesPopover.tsx @@ -101,7 +101,7 @@ export const AttachedFilesPopover: FunctionComponent = observer(
{ diff --git a/app/assets/javascripts/UIModels/AppState/FeaturesState.ts b/app/assets/javascripts/UIModels/AppState/FeaturesState.ts index 3e9391c46e2..8bcb2475eee 100644 --- a/app/assets/javascripts/UIModels/AppState/FeaturesState.ts +++ b/app/assets/javascripts/UIModels/AppState/FeaturesState.ts @@ -76,7 +76,7 @@ export class FeaturesState { } private isEntitledToFilesBeta(): boolean { - if (window.enabledUnfinishedFeatures) { + if (isDev && this.application.hasAccount()) { return true }