diff --git a/web/ce/constants/issues.ts b/web/ce/constants/issues.ts index d30ec492e56..dc6ffbcb8c2 100644 --- a/web/ce/constants/issues.ts +++ b/web/ce/constants/issues.ts @@ -31,7 +31,4 @@ export const filterActivityOnSelectedFilters = ( ): TIssueActivityComment[] => activity.filter((activity) => filter.includes(activity.activity_type as TActivityFilters)); -// boolean to decide if the local db cache is enabled -export const ENABLE_LOCAL_DB_CACHE = false; - export const ENABLE_ISSUE_DEPENDENCIES = false; diff --git a/web/core/components/workspace/sidebar/help-section.tsx b/web/core/components/workspace/sidebar/help-section.tsx index 5570b5727a0..54df5909e8d 100644 --- a/web/core/components/workspace/sidebar/help-section.tsx +++ b/web/core/components/workspace/sidebar/help-section.tsx @@ -16,7 +16,6 @@ import { usePlatformOS } from "@/hooks/use-platform-os"; // plane web components import { PlaneVersionNumber } from "@/plane-web/components/global"; import { WorkspaceEditionBadge } from "@/plane-web/components/workspace"; -import { ENABLE_LOCAL_DB_CACHE } from "@/plane-web/constants/issues"; export interface WorkspaceHelpSectionProps { setSidebarActive?: React.Dispatch>; @@ -111,23 +110,21 @@ export const SidebarHelpSection: React.FC = observer(
- {ENABLE_LOCAL_DB_CACHE && ( - -
{ - e.preventDefault(); - e.stopPropagation(); - }} - className="flex w-full items-center justify-between text-xs hover:bg-custom-background-80" - > - Local Cache - toggleLocalDB(workspaceSlug?.toString(), projectId?.toString())} - /> -
-
- )} + +
{ + e.preventDefault(); + e.stopPropagation(); + }} + className="flex w-full items-center justify-between text-xs hover:bg-custom-background-80" + > + Local Cache + toggleLocalDB(workspaceSlug?.toString(), projectId?.toString())} + /> +
+