on xenial help sign in
Fix mock VideoPreview to use the string categoryId as well.

Approved by PS Jenkins bot, Nick Dedekind.

commit1f2bfd835a9b97aefb17d32b455e0ae0f1dcd218 authorMichał Sawicz <michal.sawicz@canonical.com> dateWed 31 Jul 2013, 10:58 (13 years ago) parent01c86a552de4fe
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 {