auth: rename profile.data -> profile.current
This commit is contained in:
76 files changed
+233
-224
No files matched your search
@@ -42,7 +42,7 @@
|
||||
).users.map(c => c.person)
|
||||
|
||||
if (hideOwnUser) {
|
||||
const myself = profile.data.user?.local_user_view.person.id
|
||||
const myself = profile.current.user?.local_user_view.person.id
|
||||
return users.filter(c => c.id != myself)
|
||||
}
|
||||
return users
|
||||
|
||||
Reference in new issue
Block a user