Sort resolutions in admin page.

This commit is contained in:
2019-05-19 01:26:16 +01:00
parent f6b236cd10
commit 530869f2e0
6 changed files with 42 additions and 12 deletions

View File

@@ -29,6 +29,7 @@
*******************************************************************************/
using System.Collections.Generic;
using System.ComponentModel;
namespace Cicm.Database.Models
{
@@ -44,8 +45,11 @@ namespace Cicm.Database.Models
public int Height { get; set; }
public long? Colors { get; set; }
public long? Palette { get; set; }
public bool Chars { get; set; }
[DisplayName("Character based")]
public bool Chars { get; set; }
public virtual ICollection<ResolutionsByGpu> ResolutionsByGpu { get; set; }
public long? PaletteView => Palette ?? Colors;
}
}