summaryrefslogtreecommitdiff
path: root/src/client/app/mobile
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-27 02:56:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-27 02:56:54 +0900
commit728dd446b3fdb3a9ed46de87a46b3f0eb3ccb05d (patch)
tree11299016b48e01e2ca61b0b58997877255112524 /src/client/app/mobile
parent2.18.0 (diff)
downloadmisskey-728dd446b3fdb3a9ed46de87a46b3f0eb3ccb05d.tar.gz
misskey-728dd446b3fdb3a9ed46de87a46b3f0eb3ccb05d.tar.bz2
misskey-728dd446b3fdb3a9ed46de87a46b3f0eb3ccb05d.zip
Refactor
Diffstat (limited to 'src/client/app/mobile')
-rw-r--r--src/client/app/mobile/views/pages/home.vue19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/client/app/mobile/views/pages/home.vue b/src/client/app/mobile/views/pages/home.vue
index 8d10d96c82..33579185e1 100644
--- a/src/client/app/mobile/views/pages/home.vue
+++ b/src/client/app/mobile/views/pages/home.vue
@@ -64,20 +64,12 @@ export default Vue.extend({
watch: {
src() {
this.showNav = false;
-
- this.$store.commit('device/setTl', {
- src: this.src,
- arg: this.list
- });
+ this.saveSrc();
},
list() {
this.showNav = false;
-
- this.$store.commit('device/setTl', {
- src: this.src,
- arg: this.list
- });
+ this.saveSrc();
},
showNav(v) {
@@ -115,6 +107,13 @@ export default Vue.extend({
(this as any).apis.post();
},
+ saveSrc() {
+ this.$store.commit('device/setTl', {
+ src: this.src,
+ arg: this.list
+ });
+ },
+
warp() {
}