mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
Added event type icon to history grid.
This commit is contained in:
@@ -22,18 +22,18 @@ define(['app'], function () {
|
||||
|
||||
var name = this.column.get('name');
|
||||
|
||||
if(name === 'this'){
|
||||
if (name === 'this') {
|
||||
return this.model;
|
||||
}
|
||||
|
||||
var value = this.model.get(name);
|
||||
|
||||
if(!value){
|
||||
if (!value) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
//if not a model
|
||||
if (!value.get) {
|
||||
if (!value.get && typeof value === 'object') {
|
||||
value = new Backbone.Model(value);
|
||||
}
|
||||
|
||||
|
@@ -17,3 +17,7 @@
|
||||
.quality-cell{
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
.history-event-type-cell{
|
||||
width : 10px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user