Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simple-editor
Overview
Overview
Details
Activity
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
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Public
simple-editor
Commits
4b80c56e
Commit
4b80c56e
authored
Nov 14, 2025
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creating a new project now redirects to the editor url.
parent
9a0b7b6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Projects.vue
src/components/Projects.vue
+5
-3
index.js
src/store/index.js
+3
-1
No files found.
src/components/Projects.vue
View file @
4b80c56e
...
...
@@ -195,8 +195,11 @@ export default {
"json"
:
{}
}
await
this
.
createProject
(
payload
)
let
project
=
await
this
.
createProject
(
payload
)
this
.
$refs
.
CloseProjectModal
.
click
();
if
(
project
&&
project
.
id
)
{
this
.
$router
.
push
(
`/projects/
${
project
.
id
}
`
)
}
},
async
updateProjectClick
()
{
this
.
selectedProject
.
name
=
this
.
project_name
...
...
@@ -293,4 +296,4 @@ export default {
min-width
:
5em
;
opacity
:
0.8
;
}
</
style
>
\ No newline at end of file
</
style
>
src/store/index.js
View file @
4b80c56e
...
...
@@ -255,11 +255,13 @@ export default createStore({
async
createProject
({
commit
,
dispatch
},
payload
)
{
try
{
const
response
=
await
instance
.
post
(
'/projects/'
,
payload
)
commit
(
'addProject'
,
response
)
commit
(
'addProject'
,
response
.
data
)
let
thumbnail_payload
=
{
obj
:
response
.
data
,
frame
:
1
}
dispatch
(
'attachThumbnail'
,
thumbnail_payload
)
return
response
.
data
}
catch
(
err
)
{
commit
(
'addError'
,
err
.
response
.
data
)
return
null
}
},
async
updateProject
({
commit
},
payload
)
{
...
...
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