All files / app/assets/javascripts/vue_shared/components/paginated_table_with_search_and_tabs constants.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  7x   7x   7x   7x              
export const tdClass =
  'table-col gl-display-flex d-md-table-cell gl-align-items-center gl-white-space-nowrap';
export const bodyTrClass =
  'gl-border-1 gl-border-t-solid gl-border-gray-100 gl-hover-cursor-pointer gl-hover-bg-gray-50 gl-hover-border-b-solid';
 
export const defaultPageSize = 20;
 
export const initialPaginationState = {
  page: 1,
  prevPageCursor: '',
  nextPageCursor: '',
  firstPageSize: defaultPageSize,
  lastPageSize: null,
};