mirror of
https://github.com/sensebox/blockly-app
synced 2025-06-08 01:35:52 +02:00
add function to show slide after its hidden
This commit is contained in:
parent
5b6b1ee568
commit
19521d0302
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,7 @@ export class OtaWizardPage implements OnInit, OnDestroy {
|
||||||
|
|
||||||
showManual() {
|
showManual() {
|
||||||
this.modus = "manual";
|
this.modus = "manual";
|
||||||
|
this.showSlide(this.slideWifi);
|
||||||
this.slides.lockSwipeToNext(false);
|
this.slides.lockSwipeToNext(false);
|
||||||
this.slides.slideNext()
|
this.slides.slideNext()
|
||||||
|
|
||||||
|
@ -204,6 +205,9 @@ export class OtaWizardPage implements OnInit, OnDestroy {
|
||||||
this.slides.update()
|
this.slides.update()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private showSlide(slide:OtaSlides){
|
||||||
|
this.hiddenSlides = this.hiddenSlides.filter((hiddenSlide)=>hiddenSlide!=slide)
|
||||||
|
}
|
||||||
async connectToSensebox(ssid: string) {
|
async connectToSensebox(ssid: string) {
|
||||||
this.counts.connect++
|
this.counts.connect++
|
||||||
this.state.wifiSelection = 'connecting'
|
this.state.wifiSelection = 'connecting'
|
||||||
|
|
Loading…
Add table
Reference in a new issue