Browse Source

fix: Add reload button in Audit page

Signed-off-by: Pranav C Balan <pranavxc@gmail.com>
pull/293/head
Pranav C Balan 4 years ago
parent
commit
cd732b8ff2
  1. 15
      packages/nc-gui/components/project/auditTab/audit.vue

15
packages/nc-gui/components/project/auditTab/audit.vue

@ -1,5 +1,12 @@
<template> <template>
<div class="h-100" style="overflow: auto"> <div class="h-100" style="overflow: auto">
<v-toolbar height="30">
<v-spacer/>
<v-btn x-small outlined @click="loadAudits">
<v-icon small class="mr-2">refresh</v-icon>
Reload
</v-btn>
</v-toolbar>
<v-container class="h-100 d-flex flex-column"> <v-container class="h-100 d-flex flex-column">
<v-simple-table dense v-if="audits" style="max-width: 1000px; overflow: auto" class="mx-auto flex-grow-1" <v-simple-table dense v-if="audits" style="max-width: 1000px; overflow: auto" class="mx-auto flex-grow-1"
v-slot:default> v-slot:default>
@ -13,7 +20,7 @@
</th> </th>
<th class="caption">Description</th> <th class="caption">Description</th>
<th class="caption">User</th> <th class="caption">User</th>
<!-- <th class="caption">Ip</th>--> <!-- <th class="caption">Ip</th>-->
<th class="caption">Created</th> <th class="caption">Created</th>
</tr> </tr>
</thead> </thead>
@ -32,9 +39,9 @@
<td class="caption"> <td class="caption">
{{ audit.user }} {{ audit.user }}
</td> </td>
<!-- <td class="caption">--> <!-- <td class="caption">-->
<!-- {{ audit.ip }}--> <!-- {{ audit.ip }}-->
<!-- </td>--> <!-- </td>-->
<td class="caption"> <td class="caption">
<v-tooltip bottom> <v-tooltip bottom>
<template v-slot:activator="{on}"> <template v-slot:activator="{on}">

Loading…
Cancel
Save