Leaf Chart streamline
This commit is contained in:
@@ -73,7 +73,7 @@ namespace LeafWeb.Core.DAL
|
||||
{
|
||||
return _db.LeafInputFiles.Find(id);
|
||||
}
|
||||
|
||||
|
||||
public IQueryable<LeafInputFile> GetLeafInputFiles(LeafInputStatusType status)
|
||||
{
|
||||
return
|
||||
|
||||
@@ -10,5 +10,8 @@ namespace LeafWeb.Core.Entities
|
||||
public string Filename { get; set; }
|
||||
|
||||
public byte[] Contents { get; set; }
|
||||
|
||||
// convention for the filename which LeafCharter uses
|
||||
public bool IsLeafChartFile => Filename?.StartsWith("cntrlcomparison") ?? false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user