Skip to content

Commit

Permalink
fix folder icon
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed Jan 10, 2025
1 parent b26874d commit ec1ef9d
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,21 @@
{{on 'click' (fn fileManager.goToFolder folder)}}
>
<span local-class='item-name'>
<FaIcon @icon='folder' />
{{#if (or (eq folder.itemType 'FOLDER') (eq folder.itemType 'COLLECTION'))}}
<FaIcon @icon='folder' />
{{else}}
<FaIcon @icon='file' />
{{/if}}
{{folder.itemName}}
</span>
</Button>
{{else}}
<span local-class='item-name'>
<FaIcon @icon='folder' />
{{#if (or (eq folder.itemType 'FOLDER') (eq folder.itemType 'COLLECTION'))}}
<FaIcon @icon='folder' />
{{else}}
<FaIcon @icon='file' />
{{/if}}
{{folder.itemName}}
</span>
{{/if}}
Expand Down

0 comments on commit ec1ef9d

Please sign in to comment.