Commit f38d7686 authored by Emeryao's avatar Emeryao Committed by Kushal Pandya

use the property of name_with_namespace instead of name for the new issue form in boards

add a new attribute for name_with_namespace

prettier the changed code
parent c7818653
...@@ -68,13 +68,15 @@ export default { ...@@ -68,13 +68,15 @@ export default {
<li> <li>
<a href='#' class='dropdown-menu-link' data-project-id="${ <a href='#' class='dropdown-menu-link' data-project-id="${
project.id project.id
}" data-project-name="${project.name}"> }" data-project-name="${project.name}" data-project-name-with-namespace="${
${_.escape(project.name)} project.name_with_namespace
}">
${_.escape(project.name_with_namespace)}
</a> </a>
</li> </li>
`; `;
}, },
text: project => project.name, text: project => project.name_with_namespace,
}); });
}, },
}; };
......
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