@@ -63,14 +63,18 @@ const TagEntitiesList = ({
63
63
entityType : string ,
64
64
title : string ,
65
65
seeAllMessage : $Call < typeof N_ln , string , string > ,
66
+ showDownvoted : boolean ,
66
67
) => {
67
68
const tags = taggedEntities [ entityType ] ;
68
69
69
70
if ( ! tags || ! tags . count ) {
70
71
return null ;
71
72
}
72
73
73
- const url = ENTITIES [ entityType ] . url ;
74
+ const url = showDownvoted
75
+ ? ENTITIES [ entityType ] . url + '?show_downvoted=1'
76
+ : ENTITIES [ entityType ] . url ;
77
+
74
78
75
79
return (
76
80
< React . Fragment key = { entityType } >
@@ -154,47 +158,47 @@ const TagEntitiesList = ({
154
158
{ buildTagEntitiesListSection ( 'area' , l ( 'Areas' ) , N_ln (
155
159
'See all {num} areas' ,
156
160
'See all {num} areas' ,
157
- ) ) }
161
+ ) , showDownvoted ) }
158
162
{ buildTagEntitiesListSection ( 'artist' , l ( 'Artists' ) , N_ln (
159
163
'See all {num} artists' ,
160
164
'See all {num} artists' ,
161
- ) ) }
165
+ ) , showDownvoted ) }
162
166
{ buildTagEntitiesListSection ( 'event' , l ( 'Events' ) , N_ln (
163
167
'See all {num} events' ,
164
168
'See all {num} events' ,
165
- ) ) }
169
+ ) , showDownvoted ) }
166
170
{ buildTagEntitiesListSection ( 'instrument' , l ( 'Instruments' ) , N_ln (
167
171
'See all {num} instruments' ,
168
172
'See all {num} instruments' ,
169
- ) ) }
173
+ ) , showDownvoted ) }
170
174
{ buildTagEntitiesListSection ( 'label' , l ( 'Labels' ) , N_ln (
171
175
'See all {num} labels' ,
172
176
'See all {num} labels' ,
173
- ) ) }
177
+ ) , showDownvoted ) }
174
178
{ buildTagEntitiesListSection ( 'place' , l ( 'Places' ) , N_ln (
175
179
'See all {num} places' ,
176
180
'See all {num} places' ,
177
- ) ) }
181
+ ) , showDownvoted ) }
178
182
{ buildTagEntitiesListSection ( 'release_group' , l ( 'Release Groups' ) , N_ln (
179
183
'See all {num} release groups' ,
180
184
'See all {num} release groups' ,
181
- ) ) }
185
+ ) , showDownvoted ) }
182
186
{ buildTagEntitiesListSection ( 'release' , l ( 'Releases' ) , N_ln (
183
187
'See all {num} releases' ,
184
188
'See all {num} releases' ,
185
- ) ) }
189
+ ) , showDownvoted ) }
186
190
{ buildTagEntitiesListSection ( 'recording' , l ( 'Recordings' ) , N_ln (
187
191
'See all {num} recordings' ,
188
192
'See all {num} recordings' ,
189
- ) ) }
193
+ ) , showDownvoted ) }
190
194
{ buildTagEntitiesListSection ( 'series' , l ( 'Series' ) , N_ln (
191
195
'See all {num} series' ,
192
196
'See all {num} series' ,
193
- ) ) }
197
+ ) , showDownvoted ) }
194
198
{ buildTagEntitiesListSection ( 'work' , l ( 'Works' ) , N_ln (
195
199
'See all {num} works' ,
196
200
'See all {num} works' ,
197
- ) ) }
201
+ ) , showDownvoted ) }
198
202
</ >
199
203
) ;
200
204
} ;
0 commit comments