Commit 6cb254a1 authored by christianrhansen's avatar christianrhansen
Browse files

shortened cell info

parent fa1d9bf9
Pipeline #16557 passed with stage
in 5 minutes and 55 seconds
<template lang="pug">
.text-dark
strong {{ type }}
strong {{ shortenType(type) }}
p.faded
span.q-pr-md(v-if="cell.styleClass") Class: .{{ cell.styleClass }}
span.q-pr-md(v-if="cell.author") Author: {{ cell.author.name }}
// span.q-pr-md(v-if="cell.author") Author: {{ cell.author.name }}
span.q-pr-md(v-if="cell.author") {{ cell.author.name }}
</template>
<script>
......@@ -11,6 +12,11 @@
props: {
cell: Object,
type: String
},
methods: {
shortenType (type) {
return type.substr(0, type.length - 5)
}
}
}
</script>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment