From df8f61d2090281c1f6a2e320a4f7b71bde5700bc Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 5 Oct 2022 14:31:48 +0200 Subject: [PATCH] fix: skill card folder icon --- src/components/SkillCard.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();