BigW Consortium Gitlab

Commit 81629b1c by Annabel Dunstone Gray

Merge branch '32738-fix-project-title-ellipsis-doing-nothing' into 'master'

Fix group/project name ellipsis button doing nothing Closes #32738 See merge request !11623
parents e21d075c 2ae33f84
...@@ -44,18 +44,18 @@ export default class GroupName { ...@@ -44,18 +44,18 @@ export default class GroupName {
showToggle() { showToggle() {
this.title.classList.add('wrap'); this.title.classList.add('wrap');
this.toggle.classList.remove('hidden'); this.toggle.classList.remove('hidden');
if (this.isHidden) this.groupTitle.classList.add('is-hidden'); if (this.isHidden) this.groupTitle.classList.add('hidden');
} }
hideToggle() { hideToggle() {
this.title.classList.remove('wrap'); this.title.classList.remove('wrap');
this.toggle.classList.add('hidden'); this.toggle.classList.add('hidden');
if (this.isHidden) this.groupTitle.classList.remove('is-hidden'); if (this.isHidden) this.groupTitle.classList.remove('hidden');
} }
toggleGroups() { toggleGroups() {
this.isHidden = !this.isHidden; this.isHidden = !this.isHidden;
this.groupTitle.classList.toggle('is-hidden'); this.groupTitle.classList.toggle('hidden');
} }
render() { render() {
......
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