tabby/tabby-core/src/components/profileIcon.component.pug
Matheus Castello 1e6c2cba76 wsl: Get the distro icon from the package family name
All the WSL distributions that was installed from the Microsoft Store
have a package family name that can be used to get the icon of the
distribution.

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2024-07-01 12:26:28 -03:00

14 lines
226 B
Plaintext

.icon(
[fastHtmlBind]='pngPath',
*ngIf='!isHTML && isPNG'
)
i.icon(
class='fa-fw {{icon}}',
[style.color]='color',
*ngIf='!isHTML && !isPNG'
)
.icon(
[fastHtmlBind]='icon',
*ngIf='isHTML && icon'
)