Skip to content

Commit

Permalink
Added data persistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelromon committed Dec 22, 2019
1 parent 64bc381 commit a2d1f26
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 398 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/admin/app-sidebar/NavigationRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const navigationRoutes = {
routes: [
{
name: 'user-table',
displayName: 'menu.dataTables',
displayName: 'User Tables',
meta: {
iconClass: 'vuestic-iconset-tables',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<template slot="actions" slot-scope="props">

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

<script>
import axios from 'axios'
export default {
data () {
return {
Expand Down Expand Up @@ -59,7 +57,6 @@ export default {
this.$http.get('http://localhost:8000/en/api/users')
.then(response => {
this.users = response.data.data
console.log(this.users)
})
},
Expand Down
Loading

0 comments on commit a2d1f26

Please sign in to comment.