fix: skill card folder icon
This commit is contained in:
parent
3cdf4aa6aa
commit
df8f61d209
|
@ -40,13 +40,13 @@
|
|||
protected icon(): string {
|
||||
const unknown = () => require('../assets/skills/unknown.svg');
|
||||
|
||||
if( this.id == undefined ){
|
||||
return unknown();
|
||||
}
|
||||
|
||||
if( this.folder != undefined ){
|
||||
return require('../assets/skills/folder.svg');
|
||||
}
|
||||
|
||||
if( this.id == undefined ){
|
||||
return unknown();
|
||||
}
|
||||
const skill = skills.get(this.id);
|
||||
if( skill == null ){
|
||||
return unknown();
|
||||
|
|
Loading…
Reference in New Issue