Merge pull request #3190 from NoelDeMartin/MOBILE-3153
MOBILE-3153 core: Fix swipe tour in tabletsmain
commit
d90b6b66f6
|
@ -86,7 +86,7 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy {
|
||||||
|
|
||||||
const items = source.getItems() ?? [];
|
const items = source.getItems() ?? [];
|
||||||
|
|
||||||
if (items.length < 2) {
|
if (!this.enabled || items.length < 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue