Skip to content

Commit

Permalink
Add proper Linux icon
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXal committed May 17, 2024
1 parent 7a74f2c commit 77c818c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions dashboard/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"dependencies": {
"@fontsource/inter": "5.0.18",
"@fontsource/jetbrains-mono": "5.0.20",
"@fortawesome/fontawesome-free": "^6.5.2",
"new-dashboard": "workspace:*",
"pinia": "^2.1.7",
"primevue": "3.50.0",
Expand Down
1 change: 1 addition & 0 deletions dashboard/app/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { createAndConfigureRouter } from "./route"
// avoid tiff/svg/other deprecated stuff in a final build
import "./primeicons.css"
import "../prime-theme/themes/aura/aura-light/blue/theme.scss"
import "@fortawesome/fontawesome-free/css/all.css"

import "new-dashboard/src/primevue-theme/select.css"
import "new-dashboard/src/primevue-theme/select-panel.css"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class MachineConfigurator implements DataQueryConfigurator, FilterConfigu

private getIcons(groupName: string): string {
if (groupName.toLowerCase().startsWith("linux")) {
return "pi pi-desktop"
return "fa-brands fa-linux"
} else if (groupName.toLowerCase().startsWith("mac")) {
return "pi pi-apple"
} else {
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77c818c

Please sign in to comment.