owntone-server/web-src/src/components/IndexButtonList.vue
ejurgensen 8a177ed48d Revert "Merge branch 'master' of github.com:owntone/owntone-server"
This reverts commit bb2a778b46afca0fcd56bda6f02857fad78b14d8, reversing
changes made to f8e2298b677476f46eb67cc4331c18124f92a791.
2025-01-23 09:31:51 +01:00

24 lines
469 B
Vue

<template>
<section>
<nav class="buttons is-centered mb-4 fd-is-square">
<router-link
v-for="index in indices"
:key="index"
class="button is-small"
:to="{ hash: `#index_${index}`, query: $route.query }"
>
{{ index }}
</router-link>
</nav>
</section>
</template>
<script>
export default {
name: 'IndexButtonList',
props: { indices: { required: true, type: Array } }
}
</script>
<style></style>