Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SSHOC
sshoc-marketplace-frontend
Commits
498d0b3d
Commit
498d0b3d
authored
Apr 14, 2021
by
Stefan Probst
Browse files
fix: pass dto to source section
parent
927ac48a
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/components/item/ActorsFormSection/ActorsFormSection.tsx
View file @
498d0b3d
...
...
@@ -332,7 +332,7 @@ function CreateActorForm(props: CreateActorFormProps) {
}
>
<
ExternalIdServiceSelect
name
=
{
`
${
name
}
.serviceIdentifier`
}
name
=
{
`
${
name
}
.serviceIdentifier
.code
`
}
label
=
"ID Service"
/>
<
FormTextField
...
...
src/components/item/DatasetEditForm/DatasetEditForm.tsx
View file @
498d0b3d
...
...
@@ -154,7 +154,7 @@ export function ItemForm(props: ItemFormProps<ItemFormValues>): JSX.Element {
<
ActorsFormSection
initialValues
=
{
props
.
item
}
/>
<
PropertiesFormSection
initialValues
=
{
props
.
item
}
/>
<
RelatedItemsFormSection
initialValues
=
{
props
.
item
}
/>
<
SourceFormSection
/>
<
SourceFormSection
initialValues
=
{
props
.
item
}
/>
<
div
className
=
"flex items-center justify-end space-x-6"
>
<
Button
onPress
=
{
onCancel
}
variant
=
"link"
>
Cancel
...
...
src/components/item/PublicationEditForm/PublicationEditForm.tsx
View file @
498d0b3d
...
...
@@ -154,7 +154,7 @@ export function ItemForm(props: ItemFormProps<ItemFormValues>): JSX.Element {
<
ActorsFormSection
initialValues
=
{
props
.
item
}
/>
<
PropertiesFormSection
initialValues
=
{
props
.
item
}
/>
<
RelatedItemsFormSection
initialValues
=
{
props
.
item
}
/>
<
SourceFormSection
/>
<
SourceFormSection
initialValues
=
{
props
.
item
}
/>
<
div
className
=
"flex items-center justify-end space-x-6"
>
<
Button
onPress
=
{
onCancel
}
variant
=
"link"
>
Cancel
...
...
src/components/item/ToolEditForm/ToolEditForm.tsx
View file @
498d0b3d
...
...
@@ -150,7 +150,7 @@ export function ItemForm(props: ItemFormProps<ItemFormValues>): JSX.Element {
<
ActorsFormSection
initialValues
=
{
props
.
item
}
/>
<
PropertiesFormSection
initialValues
=
{
props
.
item
}
/>
<
RelatedItemsFormSection
initialValues
=
{
props
.
item
}
/>
<
SourceFormSection
/>
<
SourceFormSection
initialValues
=
{
props
.
item
}
/>
<
div
className
=
"flex items-center justify-end space-x-6"
>
<
Button
onPress
=
{
onCancel
}
variant
=
"link"
>
Cancel
...
...
src/components/item/TrainingMaterialEditForm/TrainingMaterialEditForm.tsx
View file @
498d0b3d
...
...
@@ -150,7 +150,7 @@ export function ItemForm(props: ItemFormProps<ItemFormValues>): JSX.Element {
<
ActorsFormSection
initialValues
=
{
props
.
item
}
/>
<
PropertiesFormSection
initialValues
=
{
props
.
item
}
/>
<
RelatedItemsFormSection
initialValues
=
{
props
.
item
}
/>
<
SourceFormSection
/>
<
SourceFormSection
initialValues
=
{
props
.
item
}
/>
<
div
className
=
"flex items-center justify-end space-x-6"
>
<
Button
onPress
=
{
onCancel
}
variant
=
"link"
>
Cancel
...
...
src/components/item/WorkflowEditForm/WorkflowEditForm.tsx
View file @
498d0b3d
...
...
@@ -537,7 +537,7 @@ function WorkflowPage(props: FormPageProps) {
<
ActorsFormSection
initialValues
=
{
props
.
item
}
/>
<
PropertiesFormSection
initialValues
=
{
props
.
item
}
/>
<
RelatedItemsFormSection
initialValues
=
{
props
.
item
}
/>
<
SourceFormSection
/>
<
SourceFormSection
initialValues
=
{
props
.
item
}
/>
</
Fragment
>
)
}
...
...
src/components/item/WorkflowStepsFormSection/WorkflowStepsFormSection.tsx
View file @
498d0b3d
...
...
@@ -9,12 +9,6 @@ import { Svg as TriangleIcon } from '@/elements/icons/small/triangle.svg'
import
{
FormField
}
from
'
@/modules/form/FormField
'
import
{
FormFieldArray
}
from
'
@/modules/form/FormFieldArray
'
import
{
ActorsFormSection
}
from
'
../ActorsFormSection/ActorsFormSection
'
import
{
MainFormSection
}
from
'
../MainFormSection/MainFormSection
'
import
{
PropertiesFormSection
}
from
'
../PropertiesFormSection/PropertiesFormSection
'
import
{
RelatedItemsFormSection
}
from
'
../RelatedItemsFormSection/RelatedItemsFormSection
'
import
{
SourceFormSection
}
from
'
../SourceFormSection/SourceFormSection
'
export
interface
ItemFormValues
extends
WorkflowCore
{
draft
?:
boolean
composedOf
?:
Array
<
StepCore
&
{
persistentId
?:
string
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment