Skip to content

Commit

Permalink
rename OrganizationCell to Organization/OrganizationPickListsCell
Browse files Browse the repository at this point in the history
  • Loading branch information
dysmento committed Jan 10, 2024
1 parent d19d9d0 commit b54f1fa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react'

import { Loading, Empty, Failure, Success } from './OrganizationCell'
import { standard } from './OrganizationCell.mock'
import { Loading, Empty, Failure, Success } from './OrganizationPickListsCell'
import { standard } from './OrganizationPickListsCell.mock'

const meta: Meta = {
title: 'Cells/OrganizationCell',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render } from '@redwoodjs/testing/web'

import { Loading, Empty, Failure } from './OrganizationCell'
import { Loading, Empty, Failure } from './OrganizationPickListsCell'
// import { standard } from './OrganizationCell.mock'

// Generated boilerplate tests do not account for all circumstances
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/Upload/UploadForm/UploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { navigate, routes } from '@redwoodjs/router'
import { useMutation } from '@redwoodjs/web'
import { toast } from '@redwoodjs/web/toast'

import OrganizationCell from 'src/components/OrganizationCell'
import OrganizationPickListsCell from 'src/components/Organization/OrganizationPickListsCell'

const CREATE_UPLOAD = gql`
mutation CreateUploadMutation($input: CreateUploadInput!) {
Expand Down Expand Up @@ -104,7 +104,7 @@ const UploadForm = (props: UploadFormProps) => {
listClassName="rw-form-error-list"
/>
{/* <HiddenField name="uploadedBy">1</HiddenField> */}
<OrganizationCell id={props.organizationId} />
<OrganizationPickListsCell id={props.organizationId} />
<FileField name="file" validation={{ required: true }} />
<FieldError name="file" className="rw-field-error" />
<Label
Expand Down

0 comments on commit b54f1fa

Please sign in to comment.