From 7080b9ba2df1d031c091b57548bb3d1c8fb1f3b4 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Fri, 5 Jun 2026 12:06:53 +0100 Subject: [PATCH] feat(admin): use filename as title in Media list to show built-in thumbnail --- src/collections/Media.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collections/Media.ts b/src/collections/Media.ts index 32af577..3eab156 100644 --- a/src/collections/Media.ts +++ b/src/collections/Media.ts @@ -34,8 +34,9 @@ export const Media: CollectionConfig = { resizeOptions: { width: 1920, withoutEnlargement: true }, }, admin: { - useAsTitle: 'alt', + useAsTitle: 'filename', group: 'Медіа', + defaultColumns: ['filename', 'alt', 'updatedAt'], }, access: { read: () => true,