Skip to content

Commit

Permalink
Fix default asset thumbnail displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
canstudios-nicolaw committed Mar 29, 2019
1 parent 083f8ea commit 8c6540b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/modules/scaffold/views/scaffoldAssetView.js
Expand Up @@ -31,8 +31,7 @@ define([
if (!Helpers.isAssetExternal(this.value)) {
// don't have asset ID, so query courseassets for matching URL && content ID
this.fetchCourseAsset({
_fieldName: this.value.split('/').pop(),
_contentTypeId: Origin.scaffold.getCurrentModel().get('_id')
_fieldName: this.value.split('/').pop()
}, function(error, collection) {
if (error) return console.error(error);

Expand Down

0 comments on commit 8c6540b

Please sign in to comment.