diff --git a/src/components/SkillCard.vue b/src/components/SkillCard.vue index 64612bb..380aad6 100644 --- a/src/components/SkillCard.vue +++ b/src/components/SkillCard.vue @@ -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();