owntone-server/web-src/src/components/IndexButtonList.vue

24 lines
469 B
Vue
Raw Normal View History

<template>
<section>
<nav class="buttons is-centered mb-4 fd-is-square">
<router-link
2024-02-27 16:27:37 +01:00
v-for="index in indices"
:key="index"
class="button is-small"
:to="{ hash: `#index_${index}`, query: $route.query }"
>
2024-04-21 17:44:55 +02:00
{{ index }}
</router-link>
</nav>
</section>
</template>
<script>
export default {
name: 'IndexButtonList',
2024-02-28 13:10:08 +01:00
props: { indices: { required: true, type: Array } }
}
</script>
<style></style>