Commit e104cb4d authored by Phil Hughes's avatar Phil Hughes

Stop milestone being editable on double click

parent 10811a2f
...@@ -151,6 +151,8 @@ ...@@ -151,6 +151,8 @@
editToken(e) { editToken(e) {
const token = e.target.closest('.js-visual-token'); const token = e.target.closest('.js-visual-token');
if (this.canEdit && !this.canEdit(token)) return;
if (token) { if (token) {
gl.FilteredSearchVisualTokens.editToken(token); gl.FilteredSearchVisualTokens.editToken(token);
this.tokenChange(); this.tokenChange();
......
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