Skip to content
Snippets Groups Projects
Commit 9c77844f authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'REDMINE-ISSUES/12411v2' into 'develop'

REDMINE_ISSUES-12411

See merge request !178
parents 93eb6f46 f32702b9
No related branches found
No related tags found
1 merge request!178REDMINE_ISSUES-12411
...@@ -266,6 +266,9 @@ export default { ...@@ -266,6 +266,9 @@ export default {
'name': self.traslateRoleToFrench(item.user_type_id), 'name': self.traslateRoleToFrench(item.user_type_id),
'value': item.user_type_id, 'value': item.user_type_id,
}) })
if (!self.form.moderation && item.user_type_id == "moderator"){
levels.pop()
}
}); });
return levels return levels
} }
...@@ -506,7 +509,14 @@ export default { ...@@ -506,7 +509,14 @@ export default {
}; };
}, },
}, },
watch: {
'form.moderation': function (newValue){
if(newValue){
this.form.access_level_pub_feature = { name: "", value: "" };
this.form.access_level_arch_feature = { name: "", value: "" };
}
}
},
created() { created() {
this.definePageType(); this.definePageType();
if (this.action === "create") { if (this.action === "create") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment