various display updates to use the custom grain name and colors
This commit is contained in:
parent
e2ad43975d
commit
be8dc1d11f
8 changed files with 64 additions and 46 deletions
|
|
@ -90,7 +90,11 @@ export class Bin {
|
|||
public customType(): string {
|
||||
let c = "";
|
||||
if (this.settings.inventory) {
|
||||
c = this.settings.inventory.customTypeName;
|
||||
if (this.settings.inventory.customGrain){
|
||||
c = this.settings.inventory.customGrain.name
|
||||
}else{
|
||||
c = this.settings.inventory.customTypeName;
|
||||
}
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue