mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
[web] Reorder components and imports
This commit is contained in:
parent
e7ae478e9b
commit
84f209b520
@ -72,9 +72,9 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import * as types from '@/store/mutation_types'
|
import * as types from '@/store/mutation_types'
|
||||||
|
import { GroupedList, byName, byYear } from '@/lib/GroupedList'
|
||||||
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
||||||
import ControlDropdown from '@/components/ControlDropdown.vue'
|
import ControlDropdown from '@/components/ControlDropdown.vue'
|
||||||
import { GroupedList, byName, byYear } from '@/lib/GroupedList'
|
|
||||||
import ListAlbums from '@/components/ListAlbums.vue'
|
import ListAlbums from '@/components/ListAlbums.vue'
|
||||||
import ModalDialogArtist from '@/components/ModalDialogArtist.vue'
|
import ModalDialogArtist from '@/components/ModalDialogArtist.vue'
|
||||||
import webapi from '@/webapi'
|
import webapi from '@/webapi'
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
|
||||||
import { GroupedList, byName } from '@/lib/GroupedList'
|
import { GroupedList, byName } from '@/lib/GroupedList'
|
||||||
|
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
||||||
import IndexButtonList from '@/components/IndexButtonList.vue'
|
import IndexButtonList from '@/components/IndexButtonList.vue'
|
||||||
import ListAlbums from '@/components/ListAlbums.vue'
|
import ListAlbums from '@/components/ListAlbums.vue'
|
||||||
import TabsAudiobooks from '@/components/TabsAudiobooks.vue'
|
import TabsAudiobooks from '@/components/TabsAudiobooks.vue'
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
|
||||||
import { GroupedList, byName } from '@/lib/GroupedList'
|
import { GroupedList, byName } from '@/lib/GroupedList'
|
||||||
|
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
||||||
import IndexButtonList from '@/components/IndexButtonList.vue'
|
import IndexButtonList from '@/components/IndexButtonList.vue'
|
||||||
import ListArtists from '@/components/ListArtists.vue'
|
import ListArtists from '@/components/ListArtists.vue'
|
||||||
import TabsAudiobooks from '@/components/TabsAudiobooks.vue'
|
import TabsAudiobooks from '@/components/TabsAudiobooks.vue'
|
||||||
|
@ -43,7 +43,7 @@ const dataObject = {
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'PageMusicRecentlyAdded',
|
name: 'PageMusicRecentlyAdded',
|
||||||
components: { ContentWithHeading, TabsMusic, ListAlbums },
|
components: { ContentWithHeading, ListAlbums, TabsMusic },
|
||||||
|
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
dataObject.load(to).then((response) => {
|
dataObject.load(to).then((response) => {
|
||||||
|
@ -36,7 +36,7 @@ const dataObject = {
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'PageMusicRecentlyPlayed',
|
name: 'PageMusicRecentlyPlayed',
|
||||||
components: { ContentWithHeading, TabsMusic, ListTracks },
|
components: { ContentWithHeading, ListTracks, TabsMusic },
|
||||||
|
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
dataObject.load(to).then((response) => {
|
dataObject.load(to).then((response) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user