agola-web/src/components/secrets.vue
Simone Gotti 3f2c57394a *: Format with prettier
Use latest prettier as devDependency so tools will use (or can be
configured to use) the npm provided version.
The unique config change is to use single quotes instead of double
quotes.
2022-02-24 09:02:02 +01:00

29 lines
597 B
Vue

<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>
</div>
</div>
</div>
</template>
<script>
export default {
components: {},
name: 'secrets',
props: {
secrets: Array,
showparentpath: Boolean,
},
};
</script>
<style scoped lang="scss"></style>