Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
corteza
corteza-webapp-compose
Commits
4bc232cd
Commit
4bc232cd
authored
3 years ago
by
fajfa
Browse files
Options
Download
Email Patches
Plain Diff
Provide a way to edit ownedBy in record editor
parent
59653702
2021.6.x-feature-OwnerId-to-ownedBy
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/components/ModuleFields/Editor/base.vue
src/components/ModuleFields/Editor/base.vue
+8
-1
src/components/PageBlocks/RecordEditor.vue
src/components/PageBlocks/RecordEditor.vue
+1
-1
No files found.
src/components/ModuleFields/Editor/base.vue
View file @
4bc232cd
...
...
@@ -85,11 +85,18 @@ export default {
value
:
{
get
()
{
if
(
this
.
field
.
isSystem
)
{
return
this
.
record
[
this
.
field
.
name
]
}
return
this
.
record
.
values
[
this
.
field
.
name
]
},
set
(
value
)
{
this
.
record
.
values
[
this
.
field
.
name
]
=
value
if
(
this
.
field
.
isSystem
)
{
this
.
record
[
this
.
field
.
name
]
=
value
}
else
{
this
.
record
.
values
[
this
.
field
.
name
]
=
value
}
},
},
...
...
This diff is collapsed.
Click to expand it.
src/components/PageBlocks/RecordEditor.vue
View file @
4bc232cd
...
...
@@ -138,7 +138,7 @@ export default {
isFieldEditable
(
field
)
{
return
field
&&
field
.
canUpdateRecordValue
&&
!
field
.
isSystem
&&
(
!
field
.
isSystem
||
field
.
name
===
'
ownedBy
'
)
&&
!
(
field
.
expressions
&&
field
.
expressions
.
value
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help