agola-web/src/components/secrets.vue

29 lines
597 B
Vue
Raw Normal View History

2019-07-09 12:20:03 +00:00
<template>
<div>
<div class="my-3 flex font-bold">
<div class="w-2/12">Name</div>
</div>
<div class="flex" v-for="secret in secrets" v-bind:key="secret.id">
<div class="w-2/12">
<span class="name">{{ secret.name }}</span>
<div v-if="showparentpath" class="text-sm font-light">
from {{ secret.parent_path }}
</div>
2019-07-09 12:20:03 +00:00
</div>
</div>
</div>
</template>
<script>
export default {
components: {},
name: 'secrets',
2019-07-09 12:20:03 +00:00
props: {
secrets: Array,
showparentpath: Boolean,
},
2019-07-09 12:20:03 +00:00
};
</script>
<style scoped lang="scss"></style>