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>
<div>
<h4 class="title is-4">Project variables</h4>
<vars :variables="variables"/>
<h5 class="title is-5">Local variables</h5>
<vars v-if="allvariables.length" :variables="variables"/>
<span v-else>No variables</span>
<hr>
<h4 class="title is-4">All project variables</h4>
<vars :variables="allvariables" :showparentpath="true"/>
<h5 class="title is-5">All variables</h5>
<vars v-if="allvariables.length" :variables="allvariables" :showparentpath="true"/>
<span v-else>No variables</span>
</div>
</template>