From 9a6e84c68af2553d112f770eee60c836aa31a211 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 10 Oct 2024 21:24:57 +0100 Subject: [PATCH] replace DashboardData with array --- interface/src/api/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/api/app.ts b/interface/src/api/app.ts index a56f4db53..dae9038f1 100644 --- a/interface/src/api/app.ts +++ b/interface/src/api/app.ts @@ -5,7 +5,7 @@ import type { Action, Activity, CoreData, - DashboardData, + DashboardItem, DeviceData, DeviceEntity, Entities, @@ -22,7 +22,7 @@ import type { // Dashboard export const readDashboard = () => - alovaInstance.Get('/rest/dashboardData', { + alovaInstance.Get('/rest/dashboardData', { responseType: 'arraybuffer' // uses msgpack });