Fix group/project name ellipsis button doing nothing
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32738
This commit is contained in:
parent
9ba8512c08
commit
2ae33f84df
|
@ -44,18 +44,18 @@ export default class GroupName {
|
|||
showToggle() {
|
||||
this.title.classList.add('wrap');
|
||||
this.toggle.classList.remove('hidden');
|
||||
if (this.isHidden) this.groupTitle.classList.add('is-hidden');
|
||||
if (this.isHidden) this.groupTitle.classList.add('hidden');
|
||||
}
|
||||
|
||||
hideToggle() {
|
||||
this.title.classList.remove('wrap');
|
||||
this.toggle.classList.add('hidden');
|
||||
if (this.isHidden) this.groupTitle.classList.remove('is-hidden');
|
||||
if (this.isHidden) this.groupTitle.classList.remove('hidden');
|
||||
}
|
||||
|
||||
toggleGroups() {
|
||||
this.isHidden = !this.isHidden;
|
||||
this.groupTitle.classList.toggle('is-hidden');
|
||||
this.groupTitle.classList.toggle('hidden');
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue