A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(medias): svg files don't load in list (#2381)
Meier Lukas52549a598d03
diff --git a/apps/nextjs/src/app/[locale]/manage/medias/page.tsx b/apps/nextjs/src/app/[locale]/manage/medias/page.tsxindex 8d6bd8643..8fd2e04f2 100644--- a/apps/nextjs/src/app/[locale]/manage/medias/page.tsx+++ b/apps/nextjs/src/app/[locale]/manage/medias/page.tsx@@ -1,10 +1,10 @@-import Image from "next/image";import Link from "next/link";import { notFound } from "next/navigation";import {ActionIcon,Anchor,Group,+ Image,Stack,Table,TableTbody,@@ -113,11 +113,12 @@ const Row = async ({ media }: RowProps) => {<TableTr><TableTd w={64}><Image+ // Switched to mantine image because next/image doesn't support svgssrc={createLocalImageUrl(media.id)}alt={media.name}- width={64}- height={64}- style={{ objectFit: "contain" }}+ w={64}+ h={64}+ fit="contain"/></TableTd><TableTd>{media.name}</TableTd>