Improves toggle method
This commit is contained in:
parent
84c4834fb4
commit
9c7807b319
1 changed files with 2 additions and 2 deletions
|
@ -51,11 +51,11 @@
|
|||
},
|
||||
|
||||
toggleRepo() {
|
||||
if (this.isOpen === false) {
|
||||
this.isOpen = !this.isOpen;
|
||||
if (this.isOpen) {
|
||||
this.fetchList({ repo: this.repo })
|
||||
.catch(() => this.showError(errorMessagesTypes.FETCH_REGISTRY));
|
||||
}
|
||||
this.isOpen = !this.isOpen;
|
||||
},
|
||||
|
||||
handleDeleteRepository() {
|
||||
|
|
Loading…
Reference in a new issue