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
3a95c01c
Commit
3a95c01c
authored
Apr 24, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add project completed
parent
7a5cde5b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.js
src/views/settings/projects/add/index.js
+1
-1
index.js
src/views/settings/store/actions/index.js
+1
-1
No files found.
src/views/settings/projects/add/index.js
View file @
3a95c01c
...
...
@@ -44,7 +44,7 @@ const Tables = () => {
<
Col
sm
=
'12'
>
<
div
class
=
"card"
>
<
div
class
=
"card-header"
>
<
h4
class
=
"card-title"
>
Project
<
/h4
>
<
h4
class
=
"card-title"
>
New
Project
<
/h4
>
<
/div
>
<
div
class
=
"card-body"
>
<
ProjectCard
selectedProject
=
{{
...
...
src/views/settings/store/actions/index.js
View file @
3a95c01c
...
...
@@ -116,7 +116,7 @@ export const updateProject = project => {
export
const
addProject
=
project
=>
{
return
(
dispatch
,
getState
)
=>
{
axios
.
post
(
`
${
process
.
env
.
REACT_APP_API
}
/api/projects
/
${
project
.
id
}
`
,
project
)
.
post
(
`
${
process
.
env
.
REACT_APP_API
}
/api/projects`
,
project
)
.
then
(
response
=>
{
dispatch
({
type
:
'ADD_PROJECT'
,
...
...
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