mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
11 lines
400 B
JavaScript
11 lines
400 B
JavaScript
'use strict';
|
|
|
|
define(['app', 'Quality/QualityProfileCollection','handlebars'], function (app, qualityProfiles,Handlebars) {
|
|
|
|
Handlebars.registerHelper('qualityProfileSelection', function () {
|
|
|
|
var templateFunction = Marionette.TemplateCache.get('Quality/QualityProfileSelectionTemplate');
|
|
return new Handlebars.SafeString(templateFunction(qualityProfiles.toJSON()));
|
|
});
|
|
});
|