diff --git a/view/vue-config.js b/view/vue-config.js index 1968300..09f86e1 100644 --- a/view/vue-config.js +++ b/view/vue-config.js @@ -25,7 +25,7 @@ window.gstore.add('menu_item', { label: 'Profil', icon: 'profile' }, inbox: { - label: 'Boîte de réception', + label: 'Messagerie instantannée', icon: 'messages' } }); diff --git a/view/vue/menu.vue b/view/vue/menu.vue index e3160a9..46940fc 100644 --- a/view/vue/menu.vue +++ b/view/vue/menu.vue @@ -22,8 +22,9 @@ export default { methods: { navigate_menu(page){ - // (1) Manage action + // (1) Update URL console.log('Loading page \''+page+'\''); + window.history.pushState(page, page, '/'+page+'/'); // (2) Activate current element this.gstore.menu_item_active = page; diff --git a/view/vue/wrapper.vue b/view/vue/wrapper.vue index 6988fc8..fc79c59 100755 --- a/view/vue/wrapper.vue +++ b/view/vue/wrapper.vue @@ -8,7 +8,7 @@ - +