add new folder for tanstak-table
This commit is contained in:
+38
@@ -407,6 +407,44 @@ export default function TanstakFilesTable({ fileType }: { fileType: string }) {
|
||||
<span className="table-item-status">
|
||||
{row.original.status}
|
||||
</span>
|
||||
{/* <DropDownList
|
||||
value={typeFilter}
|
||||
translatedValue={
|
||||
(() => {
|
||||
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}
|
||||
>
|
||||
<li value="all">
|
||||
{t('all-types')}
|
||||
</li>
|
||||
<li value="image">
|
||||
{t('images-few')}
|
||||
</li>
|
||||
<li value="video">
|
||||
{t('videos')}
|
||||
</li>
|
||||
<li value="audio">
|
||||
{t('audios')}
|
||||
</li>
|
||||
{!referralLink && (
|
||||
<li value="document">
|
||||
{t('documents')}
|
||||
</li>
|
||||
)}
|
||||
</DropDownList> */}
|
||||
</div>
|
||||
)
|
||||
},
|
||||
@@ -1,4 +1,4 @@
|
||||
import TanstakFilesTable from '@/app/components/TanstakTable';
|
||||
import TanstakFilesTable from '@/app/components/tanstak-table/TanstakTable';
|
||||
|
||||
type FilesTable = {
|
||||
fileType: string
|
||||
|
||||
Reference in New Issue
Block a user