Add summary row on file listing

This commit is contained in:
Leo Vasanko 2023-11-07 02:27:04 +00:00
parent fabec4dd7e
commit 32fa005c62

View File

@ -133,6 +133,11 @@
</td> </td>
</tr> </tr>
</template> </template>
<tr>
<td colspan="3" class="right">{{props.documents.length}} items shown:</td>
<td class="size right">{{ formatSize(props.documents.reduce((a, b) => a + b.size, 0)) }}</td>
<td class="menu"></td>
</tr>
</tbody> </tbody>
</table> </table>
<div v-else class="empty-container">Nothing to see here</div> <div v-else class="empty-container">Nothing to see here</div>