Lidarr/UI/Quality/QualityProfileTemplateHelpe...

11 lines
376 B
JavaScript
Raw Normal View History

'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()));
});
});