From 1d9ebc911d6113be581643d2762bdb63bafcc2b0 Mon Sep 17 00:00:00 2001 From: Kylart Date: Sat, 5 Aug 2017 20:56:06 +0200 Subject: [PATCH] Fixed deleteEntry in watchList Fixed some responsive Fixed nuxt-link to router-link --- assets/index.template.html | 2 +- components/listEntry.vue | 4 ++-- pages/downloader.vue | 2 +- pages/index.vue | 10 +++++----- pages/localPage.vue | 10 +++++----- store/actions.js | 12 +++++++----- store/state.js | 1 + 7 files changed, 22 insertions(+), 19 deletions(-) diff --git a/assets/index.template.html b/assets/index.template.html index 184ee83..edc8085 100644 --- a/assets/index.template.html +++ b/assets/index.template.html @@ -11,7 +11,7 @@ - + diff --git a/components/listEntry.vue b/components/listEntry.vue index 853df4b..6f94a19 100644 --- a/components/listEntry.vue +++ b/components/listEntry.vue @@ -22,7 +22,7 @@ v-icon more_vert v-list.dark template(v-for="(button, i) in buttons") - v-list-tile(@click="button.method(item, i)") + v-list-tile(@click="button.method(item, i, index)") v-list-tile-action v-icon {{ button.action }} v-list-tile-title.white--text {{ button.text }} @@ -52,7 +52,7 @@ }, { action: 'delete_sweep', text: 'Delete this entry', - method: (item, i) => vm.deleteEntry(item, i) + method: (item, i, index) => vm.deleteEntry(item, index) } ] } diff --git a/pages/downloader.vue b/pages/downloader.vue index 758c057..27f6b2d 100644 --- a/pages/downloader.vue +++ b/pages/downloader.vue @@ -29,7 +29,7 @@ id="name-input" label="Name of the anime" v-model="$store.state.downloaderForm.name" - dark> + autofocus dark> diff --git a/pages/index.vue b/pages/index.vue index 36e5a59..be2de0d 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,12 +1,12 @@