subscounter-fix

This commit is contained in:
Untone 2024-06-06 09:32:35 +03:00
parent c4be770375
commit d338510454
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ overwrite: true
generates: generates:
# Generate types for chat # Generate types for chat
src/graphql/schema/chat.gen.ts: src/graphql/schema/chat.gen.ts:
schema: 'https://chat.discours.io' schema: 'https://inboxtest.discours.io'
plugins: plugins:
- 'typescript' - 'typescript'
- 'typescript-operations' - 'typescript-operations'
@ -15,7 +15,7 @@ generates:
# Generate types for core # Generate types for core
src/graphql/schema/core.gen.ts: src/graphql/schema/core.gen.ts:
schema: 'https://core.discours.io' schema: 'https://coretest.discours.io'
plugins: plugins:
- 'typescript' - 'typescript'
- 'typescript-operations' - 'typescript-operations'

View File

@ -17,7 +17,7 @@ import { SharePopup, getShareUrl } from '../../Article/SharePopup'
import { Modal } from '../../Nav/Modal' import { Modal } from '../../Nav/Modal'
import { TopicBadge } from '../../Topic/TopicBadge' import { TopicBadge } from '../../Topic/TopicBadge'
import { Button } from '../../_shared/Button' import { Button } from '../../_shared/Button'
import { FollowingCounters } from '../../_shared/FollowingCounters' import { FollowingCounters } from '../../_shared/FollowingCounters/FollowingCounters'
import { ShowOnlyOnClient } from '../../_shared/ShowOnlyOnClient' import { ShowOnlyOnClient } from '../../_shared/ShowOnlyOnClient'
import { AuthorBadge } from '../AuthorBadge' import { AuthorBadge } from '../AuthorBadge'
import { Userpic } from '../Userpic' import { Userpic } from '../Userpic'
@ -199,7 +199,7 @@ export const AuthorCard = (props: Props) => {
followers={props.followers} followers={props.followers}
followersAmount={props.author?.stat?.followers} followersAmount={props.author?.stat?.followers}
following={props.flatFollows} following={props.flatFollows}
followingAmount={props.author?.stat?.authors} followingAmount={props.author?.stat?.authors + props.author?.stat?.topics}
/> />
</div> </div>
</Show> </Show>