1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 10:07:10 +00:00
Lidarr/UI/Quality/QualityProfileTemplateHelper.js

10 lines
376 B
JavaScript

'use strict';
define(['app', 'Quality/QualityProfileCollection'], function (app, qualityProfiles) {
Handlebars.registerHelper('qualityProfileSelection', function () {
var templateFunction = Marionette.TemplateCache.get('Quality/QualityProfileSelectionTemplate');
return new Handlebars.SafeString(templateFunction(qualityProfiles.toJSON()));
});
});