Commit 87f5b468 authored by Eugene Popov's avatar Eugene Popov 🇺🇦 Committed by Nate Graham
Browse files

Fix updating apps model

There is no need to check if the model of the current item is not empty, since the current item may be not only a category.

BUG: 444101

(cherry picked from commit 27e5f4e4)
parent 1d0ec8b2
......@@ -94,7 +94,7 @@ BasePage {
function onCurrentIndexChanged() {
// Only update row index if the condition is met.
// The 0 index modelForRow isn't supposed to be used. That's just how it works.
if (root.sideBarItem.currentIndex > 0 && sideBarItem.currentItem.model.hasChildren) {
if (root.sideBarItem.currentIndex > 0) {
appsModelRow = root.sideBarItem.currentIndex
if (root.sideBarItem.currentIndex === 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment