Skip to content

Commit a2d1f26

Browse files
committed
Added data persistency
1 parent 64bc381 commit a2d1f26

6 files changed

Lines changed: 118 additions & 398 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/admin/app-sidebar/NavigationRoutes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const navigationRoutes = {
66
routes: [
77
{
88
name: 'user-table',
9-
displayName: 'menu.dataTables',
9+
displayName: 'User Tables',
1010
meta: {
1111
iconClass: 'vuestic-iconset-tables',
1212
},
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<template slot="actions" slot-scope="props">
99

1010
<va-popover :message="`${$t('tables.edit')} ${props.rowData.username}`" placement="top">
11-
<router-link :to="{ name: 'change group', params: {username} }">
11+
<router-link :to="{ name: 'edit-user', params: {username: props.rowData.username} }">
1212
<va-button flat small color="gray" icon="fa fa-pencil"/>
1313
</router-link>
1414
</va-popover>
@@ -23,8 +23,6 @@
2323

2424
<script>
2525
26-
import axios from 'axios'
27-
2826
export default {
2927
data () {
3028
return {
@@ -59,7 +57,6 @@ export default {
5957
this.$http.get('http://localhost:8000/en/api/users')
6058
.then(response => {
6159
this.users = response.data.data
62-
console.log(this.users)
6360
})
6461
},
6562

0 commit comments

Comments
 (0)