Page MenuHomePhorge

No OneTemporary

Size
987 B
Referenced Files
None
Subscribers
None
diff --git a/src/components/remote_user_profile/remote_user_profile.js b/src/components/remote_user_profile/remote_user_profile.js
index b2e246c262..e637847691 100644
--- a/src/components/remote_user_profile/remote_user_profile.js
+++ b/src/components/remote_user_profile/remote_user_profile.js
@@ -1,23 +1,23 @@
const RemoteUserProfile = {
mounted () {
this.redirect()
},
methods: {
redirect () {
const acct = this.$route.params.username + '@' + this.$route.params.hostname
this.$store.state.api.backendInteractor.fetchUser({ id: acct })
.then((externalUser) => {
if (!externalUser.error) {
this.$store.commit('addNewUsers', [externalUser])
const id = externalUser.id
this.$router.replace({
name: 'external-user-profile',
- params: { id: id }
+ params: { id }
})
}
})
}
}
}
export default RemoteUserProfile

File Metadata

Mime Type
text/x-diff
Expires
Sun, Aug 9, 11:27 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1724494
Default Alt Text
(987 B)

Event Timeline