hide-voters-for-reader
This commit is contained in:
parent
4d0291bd9f
commit
cb2781bad8
|
@ -329,6 +329,7 @@
|
|||
"Show more": "Show more",
|
||||
"Show table of contents": "Show table of contents",
|
||||
"Show": "Show",
|
||||
"Sign in to see the voters": "Sign in to see the voters",
|
||||
"Site search": "Site search",
|
||||
"Slug": "Slug",
|
||||
"Social networks": "Social networks",
|
||||
|
|
|
@ -351,6 +351,7 @@
|
|||
"Show more": "Читать дальше",
|
||||
"Show table of contents": "Показать главление",
|
||||
"Show": "Показать",
|
||||
"Sign in to see the voters": "Войдите, чтобы видеть кто голосует",
|
||||
"Site search": "Поиск по сайту",
|
||||
"Slug": "Постоянная ссылка",
|
||||
"Social networks": "Социальные сети",
|
||||
|
|
|
@ -150,14 +150,14 @@ export const RatingControl = (props: RatingControlProps) => {
|
|||
/>
|
||||
</Show>
|
||||
</button>
|
||||
|
||||
<Popup trigger={getTrigger()} variant="tiny">
|
||||
<VotersList
|
||||
reactions={ratings()}
|
||||
fallbackMessage={isLoading() ? t('Loading') : t('No one rated yet')}
|
||||
/>
|
||||
<Show when={author()} fallback={t('Sign in to see the voters')}>
|
||||
<VotersList
|
||||
reactions={ratings()}
|
||||
fallbackMessage={isLoading() ? t('Loading') : t('No one rated yet')}
|
||||
/>
|
||||
</Show>
|
||||
</Popup>
|
||||
|
||||
<button
|
||||
onClick={() => handleRatingChange(ReactionKind.Like)}
|
||||
disabled={isLoading()}
|
||||
|
|
Loading…
Reference in New Issue
Block a user