Commit 80da247a authored by Fatih Acet's avatar Fatih Acet

Fix lock version for epics

parent e0c47610
......@@ -133,7 +133,8 @@ export default {
},
lockVersion: {
type: Number,
required: true,
required: false,
default: 0,
},
},
data() {
......
......@@ -30,6 +30,7 @@ export default {
'initialTitleText',
'initialDescriptionHtml',
'initialDescriptionText',
'lockVersion',
]),
},
};
......@@ -49,6 +50,7 @@ export default {
:show-delete-button="canDestroy"
:initial-title-html="initialTitleHtml"
:initial-title-text="initialTitleText"
:lock-version="lockVersion"
:initial-description-html="initialDescriptionHtml"
:initial-description-text="initialDescriptionText"
:show-inline-edit-button="true"
......
......@@ -33,6 +33,7 @@ export default () => ({
initialTitleText: '',
initialDescriptionHtml: '',
initialDescriptionText: '',
lockVersion: 0,
todoExists: false,
startDateSourcingMilestoneTitle: '',
......
......@@ -30,6 +30,7 @@ module EpicsHelper
start_date: epic.due_date_sourcing_milestone&.start_date,
due_date: epic.due_date_sourcing_milestone&.due_date
},
lock_version: epic.lock_version,
end_date: epic.end_date,
state: epic.state,
namespace: group.path,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment