Skip to content
Snippets Groups Projects
Commit f4971f9c authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix dropdown roles option modified at created

parent d623ab66
No related branches found
No related tags found
No related merge requests found
......@@ -484,13 +484,13 @@ export default {
this.form.access_level_pub_feature = {
name: this.project.access_level_pub_feature,
value: this.levelPermissions.find(
(el) => (el.name = this.project.access_level_pub_feature)
(el) => (el.name === this.project.access_level_pub_feature)
).value,
};
this.form.access_level_arch_feature = {
name: this.project.access_level_arch_feature,
value: this.levelPermissions.find(
(el) => (el.name = this.project.access_level_arch_feature)
(el) => (el.name === this.project.access_level_arch_feature)
).value,
};
}
......
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