We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e72928 commit e9a48c5Copy full SHA for e9a48c5
1 file changed
packages/main/src/List.ts
@@ -1419,10 +1419,7 @@ class List extends UI5Element {
1419
const lastIndex = items.length - 1;
1420
const currentIndex = this._itemNavigation._currentIndex;
1421
1422
- if (currentIndex !== -1 && currentIndex === lastIndex) {
1423
- return true;
1424
- }
1425
- return false;
+ return currentIndex !== -1 && currentIndex === lastIndex;
1426
}
1427
1428
getGrowingButton() {
0 commit comments