Fixed app navigation order
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
cd73cd3a6e
commit
a093a67b5a
4 changed files with 5 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
<button type="button" :id="menu.new.id" :class="menu.new.icon" @click="menu.new.action">{{menu.new.text}}</button>
|
||||
</div>
|
||||
<ul :id="menu.id">
|
||||
<navigation-item v-for="(item, key) in menu.items" :item="item" :key="key" />
|
||||
<navigation-item v-for="item in menu.items" :item="item" :key="item.key" />
|
||||
</ul>
|
||||
<div id="app-settings">
|
||||
<div id="app-settings-header">
|
||||
|
|
|
@ -233,6 +233,7 @@ export default {
|
|||
groups = groups.map(group => {
|
||||
let item = {};
|
||||
item.id = group.id.replace(' ', '_');
|
||||
item.key = item.id;
|
||||
item.router = { // router link to
|
||||
name: 'group',
|
||||
params: {selectedGroup: group.id}
|
||||
|
@ -269,6 +270,7 @@ export default {
|
|||
// Add everyone group
|
||||
groups.unshift({
|
||||
id: 'everyone',
|
||||
key: 'everyone',
|
||||
router: {name:'users'},
|
||||
text: t('settings', 'Everyone'),
|
||||
utils: {counter: this.userCount}
|
||||
|
|
Loading…
Reference in a new issue