Set device image w/ getDeviceImage($revision)

This commit is contained in:
billz
2025-03-23 01:22:26 -07:00
parent c235a4ff16
commit 62b342cdbb
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ function DisplayDashboard(): void
$clientInterface = $_SESSION['wifi_client_interface'];
$hostname = $system->hostname();
$revision = $system->rpiRevision();
$deviceImage = $dashboard->getDeviceImage($revision);
$hostapd = $system->hostapdStatus();
$adblock = $system->adBlockStatus();
$vpn = $system->getActiveVpnInterface();
@@ -88,6 +89,7 @@ function DisplayDashboard(): void
echo renderTemplate(
"dashboard", compact(
"revision",
"deviceImage",
"interface",
"clientInterface",
"state",