projectvars: improve visualization

This commit is contained in:
Simone Gotti 2019-05-13 16:30:51 +02:00
parent df161a788a
commit 7eb6c2c961
1 changed files with 6 additions and 4 deletions

View File

@ -1,11 +1,13 @@
<template> <template>
<div> <div>
<h4 class="title is-4">Project variables</h4> <h5 class="title is-5">Local variables</h5>
<vars :variables="variables"/> <vars v-if="allvariables.length" :variables="variables"/>
<span v-else>No variables</span>
<hr> <hr>
<h4 class="title is-4">All project variables</h4> <h5 class="title is-5">All variables</h5>
<vars :variables="allvariables" :showparentpath="true"/> <vars v-if="allvariables.length" :variables="allvariables" :showparentpath="true"/>
<span v-else>No variables</span>
</div> </div>
</template> </template>