huridocs/uwazi

View on GitHub
app/react/Entities/actions/uiActions.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import * as types from 'app/Entities/actions/actionTypes';

export function showTab(tab) {
  return {
    type: types.SHOW_TAB,
    tab,
  };
}

export function resetUserSelectedTab() {
  return { type: types.RESET_USER_SELECTED_TAB };
}

export function hideFilters() {
  return { type: types.HIDE_FILTERS };
}

export function showFilters() {
  return { type: types.SHOW_FILTERS };
}