Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
9d32afb3
Commit
9d32afb3
authored
3 months ago
by
Jonathan Weth
Browse files
Options
Downloads
Plain Diff
Merge branch '1234-personform-does-not-work-in-create-mode' into 'master'
Resolve "PersonForm does not work in create mode" Closes
#1234
See merge request
!1745
parents
ff842f7f
d422fb1c
No related branches found
No related tags found
1 merge request
!1745
Resolve "PersonForm does not work in create mode"
Pipeline
#196700
canceled
3 months ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Stage: deploy
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/core/frontend/components/person/PersonListWrapper.vue
+1
-0
1 addition, 0 deletions
...sis/core/frontend/components/person/PersonListWrapper.vue
aleksis/core/frontend/mixins/objectFormPropsMixin.js
+1
-1
1 addition, 1 deletion
aleksis/core/frontend/mixins/objectFormPropsMixin.js
with
2 additions
and
1 deletion
aleksis/core/frontend/components/person/PersonListWrapper.vue
+
1
−
0
View file @
9d32afb3
...
@@ -17,6 +17,7 @@ export default {
...
@@ -17,6 +17,7 @@ export default {
return
this
.
$route
.
query
.
_ui_action
===
"
create
"
return
this
.
$route
.
query
.
_ui_action
===
"
create
"
?
{
?
{
fallbackUrl
:
{
name
:
"
core.persons
"
},
fallbackUrl
:
{
name
:
"
core.persons
"
},
isCreate
:
true
,
}
}
:
{};
:
{};
},
},
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/frontend/mixins/objectFormPropsMixin.js
+
1
−
1
View file @
9d32afb3
...
@@ -51,7 +51,7 @@ export default {
...
@@ -51,7 +51,7 @@ export default {
defaultItem
:
{
defaultItem
:
{
type
:
Object
,
type
:
Object
,
required
:
false
,
required
:
false
,
default
:
null
,
default
:
()
=>
({})
,
},
},
/**
/**
* Item offered for editing if isCreate is false
* Item offered for editing if isCreate is false
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment