mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed alignment issues and better rendering for add cards
This commit is contained in:
@@ -16,8 +16,8 @@ define(['app',
|
||||
'click .x-add-card': '_addProfile'
|
||||
},
|
||||
|
||||
onAfterItemAdded: function () {
|
||||
this.$itemViewContainer.find('.x-add-card').parent('li').remove();
|
||||
onRender: function () {
|
||||
this.listenTo(this.collection, 'add', this.render);
|
||||
|
||||
this.templateFunction = Marionette.TemplateCache.get('Settings/Quality/Profile/AddCardTemplate');
|
||||
var html = this.templateFunction();
|
||||
|
Reference in New Issue
Block a user