diff --git a/src/app/shared/sinonimo/sinonimo.component.html b/src/app/shared/sinonimo/sinonimo.component.html index 4a72003..0981e18 100644 --- a/src/app/shared/sinonimo/sinonimo.component.html +++ b/src/app/shared/sinonimo/sinonimo.component.html @@ -69,9 +69,10 @@ VOLVER
+ class="d-inline-block py-1 bg-white badge-pill text-primary ml-auto fade-in-left" + (click)="goNext()"> SIGUIENTE 0) ? false : true; + return !sinonimo.selected ? 'disabled' : 'btn-effect'; + } + + goNext() { + if (!this.sinonimos[this.currentIndex].selected) return; + this.currentIndex++; + } + continue() { if (!this.isValid) return; if (this.isSinonimoSelected) return;