mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Remove redundancy in the displayed texts
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
</p>
|
||||
</nav>
|
||||
<p v-if="!results[type].total" class="has-text-centered-mobile">
|
||||
<i v-text="$t('page.search.no-tracks')" />
|
||||
<i v-text="$t('page.search.no-results')" />
|
||||
</p>
|
||||
</template>
|
||||
</content-with-heading>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
@click="open_search(type)"
|
||||
v-text="
|
||||
$t(
|
||||
`page.spotify.search.show-all-${type}s`,
|
||||
`page.spotify.search.show-${type}s`,
|
||||
results[type].total,
|
||||
{
|
||||
count: $filters.number(results[type].total)
|
||||
@@ -74,7 +74,7 @@
|
||||
</p>
|
||||
</nav>
|
||||
<p v-if="!results[type].total" class="has-text-centered-mobile">
|
||||
<i v-text="$t(`page.spotify.search.no-${type}s`)" />
|
||||
<i v-text="$t(`page.spotify.search.no-results`)" />
|
||||
</p>
|
||||
</template>
|
||||
</content-with-heading>
|
||||
@@ -170,10 +170,7 @@ export default {
|
||||
open_search(type) {
|
||||
this.$router.push({
|
||||
name: 'search-spotify',
|
||||
query: {
|
||||
query: this.$route.query.query,
|
||||
type
|
||||
}
|
||||
query: { query: this.$route.query.query, type }
|
||||
})
|
||||
},
|
||||
reset() {
|
||||
|
||||
Reference in New Issue
Block a user