aboutsummaryrefslogtreecommitdiff
path: root/src/components/interactions/interactions.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-08-17 08:12:21 +0000
committerShpuld Shpludson <shp@cock.li>2019-08-17 08:12:21 +0000
commite5fe4f420ca66f3916bc986ee9d65ce6a9bf75aa (patch)
tree5de744e4a1437d51d6849450a8456ba6e76fac88 /src/components/interactions/interactions.js
parent9f6be4fe654a26d57c67cbe0f42cd3bbb1b37e92 (diff)
parent7dfcabb5433a5eb805bbda6ef87390c6ed2d5372 (diff)
Merge branch '564' into 'develop'
Restore scroll position for user profile when navigate back and forward Closes #636 and #564 See merge request pleroma/pleroma-fe!914
Diffstat (limited to 'src/components/interactions/interactions.js')
-rw-r--r--src/components/interactions/interactions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/interactions/interactions.js b/src/components/interactions/interactions.js
index d4e3cc17..1f8a9de9 100644
--- a/src/components/interactions/interactions.js
+++ b/src/components/interactions/interactions.js
@@ -13,8 +13,8 @@ const Interactions = {
}
},
methods: {
- onModeSwitch (index, dataset) {
- this.filterMode = tabModeDict[dataset.filter]
+ onModeSwitch (key) {
+ this.filterMode = tabModeDict[key]
}
},
components: {