bottom layout fix

This commit is contained in:
Yuri Kuznetsov
2020-04-02 18:08:57 +03:00
parent ea0d53d0e6
commit 4d114bc2e8
@@ -184,7 +184,7 @@ define('views/admin/layouts/bottom-panels-detail', 'views/admin/layouts/side-pan
}, this);
this.rowLayout.sort(function (v1, v2) {
return v1.index - v2.index;
return (v1.index || 0) - (v2.index || 0);
});
},