[web] Fix lint errors

This commit is contained in:
Alain Nussbaumer 2023-07-25 14:41:34 +02:00
parent d38236fb37
commit d733a17871
2 changed files with 16 additions and 18 deletions

View File

@ -1,17 +1,16 @@
import './mystyles.scss'
import App from './App.vue'
import { createApp } from 'vue' import { createApp } from 'vue'
import { filters } from './filter'
import i18n from './i18n' import i18n from './i18n'
import store from './store' import { icons } from './icons'
import { router } from './router' import mdiVue from 'mdi-vue/v3'
import VueProgressBar from '@aacassandra/vue3-progressbar'
import VueClickAway from 'vue3-click-away' import VueClickAway from 'vue3-click-away'
import VueLazyLoad from 'vue3-lazyload' import VueLazyLoad from 'vue3-lazyload'
import VueProgressBar from '@aacassandra/vue3-progressbar'
import VueScrollTo from 'vue-scrollto' import VueScrollTo from 'vue-scrollto'
import mdiVue from 'mdi-vue/v3' import { router } from './router'
import { filters } from './filter' import store from './store'
import { icons } from './icons'
import App from './App.vue'
import './mystyles.scss'
const app = createApp(App) const app = createApp(App)
.use(store) .use(store)
@ -24,7 +23,7 @@ const app = createApp(App)
}) })
.use(VueScrollTo) .use(VueScrollTo)
.use(mdiVue, { .use(mdiVue, {
icons: icons icons
}) })
.use(i18n) .use(i18n)

View File

@ -16,8 +16,8 @@
<router-link <router-link
class="button is-light is-small is-rounded" class="button is-light is-small is-rounded"
:to="{ name: 'music-browse-recently-added' }" :to="{ name: 'music-browse-recently-added' }"
v-text="$t('page.browse.show-more')" >{{ $t('page.browse.show-more') }}</router-link
/> >
</p> </p>
</nav> </nav>
</template> </template>
@ -40,8 +40,8 @@
<router-link <router-link
class="button is-light is-small is-rounded" class="button is-light is-small is-rounded"
:to="{ name: 'music-browse-recently-played' }" :to="{ name: 'music-browse-recently-played' }"
v-text="$t('page.browse.show-more')" >{{ $t('page.browse.show-more') }}</router-link
/> >
</p> </p>
</nav> </nav>
</template> </template>
@ -83,7 +83,7 @@ const dataObject = {
export default { export default {
name: 'PageBrowse', name: 'PageBrowse',
components: { ContentWithHeading, TabsMusic, ListAlbums, ListTracks }, components: { ContentWithHeading, ListAlbums, ListTracks, TabsMusic },
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
dataObject.load(to).then((response) => { dataObject.load(to).then((response) => {
@ -103,9 +103,8 @@ export default {
return { return {
recently_added: [], recently_added: [],
recently_played: { items: [] }, recently_played: { items: [] },
selected_track: {},
show_track_details_modal: false, show_track_details_modal: false
selected_track: {}
} }
} }
} }