Commit 78b68d3c authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '13755-toggling-of-scoped-labels-help-text-is-backwards' into 'master'

Fix scoped labels help text toggling behavior

Closes #13755

See merge request gitlab-org/gitlab-ee!15591
parents 0b45e889 f0b3bd61
......@@ -16,8 +16,8 @@ class LabelsEE extends Labels {
const useScoped = $parentEl.find('.js-use-scoped-labels');
const isScoped = isScopedLabel({ title });
hasScoped.toggleClass('hidden', isScoped);
useScoped.toggleClass('hidden', !isScoped);
hasScoped.toggleClass('hidden', !isScoped);
useScoped.toggleClass('hidden', isScoped);
}
}
......
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