mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
Feat mobile nav (#4)
* Fixed displaying columns that arent defined (#2) * Reworked layout for mobile support
This commit is contained in:
parent
b69cc43561
commit
0f306a7705
3 changed files with 74 additions and 23 deletions
|
@ -45,7 +45,7 @@ function toggleSorting(columnName: string) {
|
|||
<tbody>
|
||||
<!-- eslint-disable-next-line vue/require-v-for-key -->
|
||||
<tr v-for="row of displayData">
|
||||
<td v-for="cell in row" :key="cell" v-text="cell"/>
|
||||
<td v-for="[column] in Object.entries(columns ?? {})" :key="column" v-text="row[column]"/>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue