fix: skill card folder icon

This commit is contained in:
Adrien Marquès 2022-10-05 14:31:48 +02:00
parent 3cdf4aa6aa
commit df8f61d209
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 4 additions and 4 deletions

View File

@ -40,13 +40,13 @@
protected icon(): string { protected icon(): string {
const unknown = () => require('../assets/skills/unknown.svg'); const unknown = () => require('../assets/skills/unknown.svg');
if( this.id == undefined ){
return unknown();
}
if( this.folder != undefined ){ if( this.folder != undefined ){
return require('../assets/skills/folder.svg'); return require('../assets/skills/folder.svg');
} }
if( this.id == undefined ){
return unknown();
}
const skill = skills.get(this.id); const skill = skills.get(this.id);
if( skill == null ){ if( skill == null ){
return unknown(); return unknown();