mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added event type icon to history grid.
This commit is contained in:
parent
9d8fd840c4
commit
76fb548ccd
9 changed files with 87 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue