|
|
@ -252,10 +252,10 @@ const FilesTable = (props) => { |
|
|
|
tableContent += `<tr>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${cd.name}</div></th>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${cd.description}</div></th>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${cd.type}</div></th>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${cd.fileName ? cd.type : ''}</div></th>`; |
|
|
|
let tagName = cd.tagFiles.map(tagSet => tagSet.tag.name); |
|
|
|
tableContent += `<th style="font-weight:600"><div>${tagName.join(',')}</div></th>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${cd.size ? getfilesize(cd.size) : ''}</div></th>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${cd.fileName && cd.size ? getfilesize(cd.size) : ''}</div></th>`; |
|
|
|
tableContent += `<th style="font-weight:600"><div>${moment(cd.updateAt).format('YYYY-MM-DD HH:mm:ss')}</div></th>`; |
|
|
|
tableContent += `</tr>`; |
|
|
|
}) |
|
|
|