Dont show editing options for pseudo namespaces
This commit is contained in:
parent
e700565d82
commit
e5eeaf0ea3
1 changed files with 2 additions and 2 deletions
|
@ -42,12 +42,12 @@
|
||||||
<p class="menu-label" v-if="loading">Loading...</p>
|
<p class="menu-label" v-if="loading">Loading...</p>
|
||||||
<template v-for="n in namespaces">
|
<template v-for="n in namespaces">
|
||||||
<div :key="n.id">
|
<div :key="n.id">
|
||||||
<router-link :to="{name: 'editNamespace', params: {id: n.id} }" class="nsettings">
|
<router-link :to="{name: 'editNamespace', params: {id: n.id} }" class="nsettings" v-if="n.id > 0">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<icon icon="cog"/>
|
<icon icon="cog"/>
|
||||||
</span>
|
</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link :to="{ name: 'newList', params: { id: n.id} }" class="is-success nsettings" :key="n.id + 'newList'">
|
<router-link :to="{ name: 'newList', params: { id: n.id} }" class="is-success nsettings" :key="n.id + 'newList'" v-if="n.id > 0">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue