Skip to content

Commit

Permalink
Remove var usage in AssetstoreView render code
Browse files Browse the repository at this point in the history
  • Loading branch information
willdunklin committed Nov 8, 2023
1 parent 106b714 commit 3330e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import_tracker/web_client/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ wrap(AssetstoreView, 'render', function (render) {
function () {
// we can't just use the index of the after call, since not
// all assetstores will have import buttons.
var assetstore = assetstores.get($(this).closest('.g-assetstore-buttons').find('[cid]').attr('cid'));
const assetstore = assetstores.get($(this).closest('.g-assetstore-buttons').find('[cid]').attr('cid'));
return importDataButton({ importsPageLink: `#assetstore/${assetstore.id}/imports` });
}
);
Expand Down

0 comments on commit 3330e96

Please sign in to comment.