[web-src] Fix generating id for index nav (name_sort instead of name)

This commit is contained in:
chme 2018-12-21 06:20:30 +01:00
parent 7714558043
commit 2a3bcead37
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template functional>
<div class="media" :id="'index_' + props.album.name.charAt(0).toUpperCase()">
<div class="media" :id="'index_' + props.album.name_sort.charAt(0).toUpperCase()">
<div class="media-content fd-has-action is-clipped" @click="listeners.click">
<h1 class="title is-6">{{ props.album.name }}</h1>
<h2 class="subtitle is-7 has-text-grey"><b>{{ props.album.artist }}</b></h2>

View File

@ -1,5 +1,5 @@
<template functional>
<div class="media" :id="'index_' + props.artist.name.charAt(0).toUpperCase()">
<div class="media" :id="'index_' + props.artist.name_sort.charAt(0).toUpperCase()">
<div class="media-content fd-has-action is-clipped" @click="listeners.click">
<h1 class="title is-6">{{ props.artist.name }}</h1>
</div>