Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85630254
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
987 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Aug 9, 11:27 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1724494
Default Alt Text
(987 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment