From a3ea25c1e681b33909f45d52580473f7e4f13e26 Mon Sep 17 00:00:00 2001 From: smanylov Date: Fri, 20 Feb 2026 12:52:18 +0700 Subject: [PATCH] add new folder for tanstak-table --- .../{ => tanstak-table}/TanstakTable.tsx | 38 +++++++++++++++++++ src/app/ui/dashboard/files-table.tsx | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) rename src/app/components/{ => tanstak-table}/TanstakTable.tsx (96%) diff --git a/src/app/components/TanstakTable.tsx b/src/app/components/tanstak-table/TanstakTable.tsx similarity index 96% rename from src/app/components/TanstakTable.tsx rename to src/app/components/tanstak-table/TanstakTable.tsx index ec8ead2..0227efc 100644 --- a/src/app/components/TanstakTable.tsx +++ b/src/app/components/tanstak-table/TanstakTable.tsx @@ -407,6 +407,44 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) { {row.original.status} + {/* { + switch (typeFilter) { + case 'image': + return t('images') + case 'video': + return t('videos') + case 'audio': + return t('audios') + case 'document': + return t('documents') + default: + return t('all-types') + } + })() + } + callBack={setTypeFilter} + > +
  • + {t('all-types')} +
  • +
  • + {t('images-few')} +
  • +
  • + {t('videos')} +
  • +
  • + {t('audios')} +
  • + {!referralLink && ( +
  • + {t('documents')} +
  • + )} +
    */} ) }, diff --git a/src/app/ui/dashboard/files-table.tsx b/src/app/ui/dashboard/files-table.tsx index a1185cf..5499880 100644 --- a/src/app/ui/dashboard/files-table.tsx +++ b/src/app/ui/dashboard/files-table.tsx @@ -1,4 +1,4 @@ -import TanstakFilesTable from '@/app/components/TanstakTable'; +import TanstakFilesTable from '@/app/components/tanstak-table/TanstakTable'; type FilesTable = { fileType: string