forked from vikunja/frontend
konrad
2aceca54ca
Co-authored-by: kolaente <k@knt.li> Reviewed-on: vikunja/frontend#380 Co-authored-by: konrad <konrad@kola-entertainments.de> Co-committed-by: konrad <konrad@kola-entertainments.de>
21 lines
319 B
Vue
21 lines
319 B
Vue
<template>
|
|
<span class="shortcuts">
|
|
<template v-for="(k, i) in keys">
|
|
<span :key="i">{{ k }}</span>
|
|
<i v-if="i < keys.length - 1" :key="`plus${i}`">+</i>
|
|
</template>
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'shortcut',
|
|
props: {
|
|
keys: {
|
|
type: Array,
|
|
required: true,
|
|
}
|
|
},
|
|
}
|
|
</script>
|