Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pedro-dev_2
cms
Commits
8b50f7c8
Commit
8b50f7c8
authored
May 22, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix empty textual
parent
f90344cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.js
src/views/assets/projectassets/add/index.js
+4
-2
textual.js
src/views/assets/projectassets/card/textual.js
+1
-0
No files found.
src/views/assets/projectassets/add/index.js
View file @
8b50f7c8
...
@@ -28,7 +28,8 @@ const Tables = () => {
...
@@ -28,7 +28,8 @@ const Tables = () => {
title
:
values
.
title
,
title
:
values
.
title
,
parentid
:
values
.
parentid
,
parentid
:
values
.
parentid
,
parenttype
:
values
.
parenttype
,
parenttype
:
values
.
parenttype
,
external_id
:
values
.
external_id
external_id
:
values
.
external_id
,
textual
:
values
.
textual
}
}
)
)
)
)
...
@@ -55,7 +56,8 @@ const Tables = () => {
...
@@ -55,7 +56,8 @@ const Tables = () => {
title
:
''
,
title
:
''
,
parentid
:
null
,
parentid
:
null
,
parenttype
:
null
,
parenttype
:
null
,
external_id
:
''
external_id
:
''
,
textual
:
[]
}}
}}
onSubmitHandler
=
{
onSubmitHandler
}
onSubmitHandler
=
{
onSubmitHandler
}
/
>
/
>
...
...
src/views/assets/projectassets/card/textual.js
View file @
8b50f7c8
...
@@ -96,6 +96,7 @@ const TextualBlock = ({dataElement, handleTextualChange}) => {
...
@@ -96,6 +96,7 @@ const TextualBlock = ({dataElement, handleTextualChange}) => {
title
:
''
title
:
''
}
}
]
]
dataElement
.
push
(
textuals
[
0
])
}
}
return
<
PlanLang
return
<
PlanLang
...
...
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