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

23 lines
462 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-02-27 16:27:37 +01: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>
2023-07-26 16:04:12 +02:00
<style></style>