mirror of
https://github.com/zyachel/quetre.git
synced 2025-04-03 21:17:36 +03:00
fix: remove stats from UI that aren't available anymore
includes no. of topic's followers, no. of topics a person is following, etc.
This commit is contained in:
parent
f11d3f2ac6
commit
a0ac36a174
4 changed files with 2 additions and 14 deletions
|
@ -184,7 +184,6 @@ const getProfile = async (slug, lang) => {
|
|||
},
|
||||
spaces: {
|
||||
numActiveInSpaces: rawData.numCanContributeTribes,
|
||||
numFollowingSpaces: rawData.numFollowedTribes,
|
||||
spaces: rawData.followingTribesConnection.edges.map(space => ({
|
||||
numItems: space.node.numItemsOfUser,
|
||||
url: quetrefy(space.node.url),
|
||||
|
@ -194,7 +193,6 @@ const getProfile = async (slug, lang) => {
|
|||
})),
|
||||
},
|
||||
topics: {
|
||||
numFollowingTopics: rawData.numFollowedTopics,
|
||||
topics: rawData.expertiseTopicsConnection.edges.map(topic => ({
|
||||
name: topic.node.name,
|
||||
url: quetrefy(topic.node.url),
|
||||
|
|
|
@ -30,8 +30,6 @@ const data = {
|
|||
name: rawData.name,
|
||||
url: quetrefy(rawData.url),
|
||||
image: rawData.photoUrl,
|
||||
aliases: rawData.aliases,
|
||||
numFollowers: rawData.numFollowers,
|
||||
// isLocked: rawData.isLocked,
|
||||
isAdult: rawData.adult,
|
||||
mostViewedAuthors: rawData.mostViewedAuthors.map(author => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue