2aceca54ca
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/380 Co-authored-by: konrad <konrad@kola-entertainments.de> Co-committed-by: konrad <konrad@kola-entertainments.de>
20 lines
319 B
Vue
20 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>
|