A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: Drop legacy container notice
Mohamed Bassem5019c8d9d4d9
diff --git a/apps/web/components/admin/AdminNotices.tsx b/apps/web/components/admin/AdminNotices.tsxindex e40bae19..77b1b481 100644--- a/apps/web/components/admin/AdminNotices.tsx+++ b/apps/web/components/admin/AdminNotices.tsx@@ -19,25 +19,6 @@ function useAdminNotices() {return [];}const ret: AdminNotice[] = [];- if (data.legacyContainersNotice) {- ret.push({- level: "warning",- message: (- <p>- You're using the legacy docker container images. Those will stop- getting supported soon. Please follow{" "}- <a- href="https://docs.karakeep.app/next/Guides/legacy-container-upgrade"- className="underline"- >- this guide- </a>{" "}- to upgrade.- </p>- ),- title: "Legacy Container Images",- });- }return ret;}diff --git a/packages/trpc/routers/admin.ts b/packages/trpc/routers/admin.tsindex c4fc9d3d..9fd77f1d 100644--- a/packages/trpc/routers/admin.ts+++ b/packages/trpc/routers/admin.ts@@ -3,7 +3,6 @@ import { count, eq, or, sum } from "drizzle-orm";import { z } from "zod";import { assets, bookmarkLinks, bookmarks, users } from "@karakeep/db/schema";-import serverConfig from "@karakeep/shared/config";import {AssetPreprocessingQueue,FeedQueue,@@ -410,12 +409,12 @@ export const adminAppRouter = router({getAdminNoticies: adminProcedure.output(z.object({- legacyContainersNotice: z.boolean(),+ // Unused for now}),).query(() => {return {- legacyContainersNotice: serverConfig.usingLegacySeparateContainers,+ // Unused for now};}),});