mirror of https://github.com/rancher/dashboard.git
31 lines
447 B
Vue
31 lines
447 B
Vue
<script>
|
|
|
|
export default {
|
|
props: {
|
|
value: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
row: {
|
|
type: Object,
|
|
default: () => {
|
|
return {};
|
|
}
|
|
}
|
|
},
|
|
|
|
async fetch() {
|
|
await this.row.getSecret();
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div v-if="value && !$fetchState.pending">
|
|
<span v-clean-html="value" />
|
|
</div>
|
|
<div v-else>
|
|
<span class="text-muted">—</span>
|
|
</div>
|
|
</template>
|