HEX
Server: Apache
System: Linux webm003.cluster111.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: assotraipi (849654)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/assotraipi/www/wp-content/plugins/download-monitor/assets/apps/reports/context/actions.js
import { actionTypes } from './reducer';

export const setPeriods = ( value ) => ( {
	type: actionTypes.SET_PERIODS,
	payload: value,
} );

export const setActiveTab = ( value ) => ( {
	type: actionTypes.SET_ACTIVE_TAB,
	payload: value,
} );

export const setChartOptions = ( value ) => ( {
	type: actionTypes.SET_CHART_OPTIONS,
	payload: value,
} );