on xenial help sign in
Fix mock VideoPreview to use the string categoryId as well.
52de4feMichał Sawicz
Dash/DashVideos.qml+1−1
@@ -118,7 +118,7 @@ ScopeView {
118 var dataItem;
118 var dataItem;
119 // VideosCarousel and VideosFilterGrid have different
119 // VideosCarousel and VideosFilterGrid have different
120 // clicked signals, accomodate for that
120 // clicked signals, accomodate for that
121− if (categoryId == 1) {
121+ if (categoryId == "featured") {
122 var fileUri = delegateItem.model.uri.replace(/^[^:]+:/, "")
122 var fileUri = delegateItem.model.uri.replace(/^[^:]+:/, "")
123 dataItem = {fileUri: fileUri, nfoUri: delegateItem.model.comment}
123 dataItem = {fileUri: fileUri, nfoUri: delegateItem.model.comment}
124 } else {
124 } else {