Skip to content

Commit

Permalink
* move constants file to utils directory
Browse files Browse the repository at this point in the history
  • Loading branch information
CalamityC committed Mar 28, 2024
1 parent 918fca9 commit 222910a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rdmo/projects/assets/js/components/helper/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import PropTypes from 'prop-types'
import { get } from 'lodash'

import { ROWS_TO_LOAD } from '../../constants'
import { ROWS_TO_LOAD } from '../../utils/constants'

const Table = ({
cellFormatters,
Expand Down
2 changes: 1 addition & 1 deletion rdmo/projects/assets/js/components/main/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import FileUploadButton from 'rdmo/core/assets/js/components/FileUploadButton'
import language from 'rdmo/core/assets/js/utils/language'
import userIsManager from '../../utils/userIsManager'
import { getTitlePath } from '../../utils/getProjectTitlePath'
import { DATE_OPTIONS, HEADER_FORMATTERS, SORTABLE_COLUMNS } from '../../constants'
import { DATE_OPTIONS, HEADER_FORMATTERS, SORTABLE_COLUMNS } from '../../utils/constants'
import { get } from 'lodash'

const Projects = ({ config, configActions, currentUserObject, projectsActions, projectsObject }) => {
Expand Down
2 changes: 1 addition & 1 deletion rdmo/projects/assets/js/reducers/configReducer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { set, unset } from 'lodash'
import { DELETE_CONFIG, UPDATE_CONFIG } from '../actions/types'
import { INITIAL_TABLE_ROWS } from '../constants'
import { INITIAL_TABLE_ROWS } from '../utils/constants'

const initialState = {
myProjects: true,
Expand Down
File renamed without changes.

0 comments on commit 222910a

Please sign in to comment.