on xenial help sign in
Fix mock VideoPreview to use the string categoryId as well.
commit52de4fed29fb4617f0d1b736807c94154da64f44 authorMichał Sawicz <michal.sawicz@canonical.com> dateWed 31 Jul 2013, 10:27 (13 years ago) parent01c86a5
1 file changed+1−1
Dash/DashVideos.qml+1−1
Dash/DashVideos.qml+1−1
@@ -118,7 +118,7 @@ ScopeView {
118118 var dataItem;
119119 // VideosCarousel and VideosFilterGrid have different
120120 // clicked signals, accomodate for that
121− if (categoryId == 1) {
121+ if (categoryId == "featured") {
122122 var fileUri = delegateItem.model.uri.replace(/^[^:]+:/, "")
123123 dataItem = {fileUri: fileUri, nfoUri: delegateItem.model.comment}
124124 } else {