parent
eb50475edc
commit
7adf165f08
1 changed files with 7 additions and 8 deletions
|
@ -141,16 +141,15 @@ export function doFetchClaimsByChannel(uri: string, page: number = 1, pageSize:
|
|||
return (dispatch: Dispatch, getState: GetState) => {
|
||||
const state = getState();
|
||||
const showMature = makeSelectClientSetting(SETTINGS.SHOW_MATURE)(state);
|
||||
const params = {
|
||||
channel: uri,
|
||||
page,
|
||||
page_size: pageSize,
|
||||
valid_channel_signature: true,
|
||||
order_by: ['release_time'],
|
||||
};
|
||||
const params = {};
|
||||
params.channel = uri;
|
||||
params.page = page;
|
||||
params.page_size = pageSize;
|
||||
params.valid_channel_signature = true;
|
||||
params.order_by = ['release_time'];
|
||||
|
||||
if (!showMature) {
|
||||
params['not_tags'] = MATURE_TAGS;
|
||||
params.not_tags = MATURE_TAGS;
|
||||
}
|
||||
|
||||
dispatch({
|
||||
|
|
Loading…
Add table
Reference in a new issue