diff --git a/central_frontend/src/routes/OTARoute.tsx b/central_frontend/src/routes/OTARoute.tsx index 8d366ba..e83d942 100644 --- a/central_frontend/src/routes/OTARoute.tsx +++ b/central_frontend/src/routes/OTARoute.tsx @@ -14,6 +14,7 @@ import { TableHead, TableRow, Tooltip, + Typography, } from "@mui/material"; import { filesize } from "filesize"; import React from "react"; @@ -141,6 +142,14 @@ function _OTAList(p: { } }; + if (p.list.length === 0) { + return ( + + There is no OTA update uploaded on the platform yet. + + ); + } + return ( <> {deployUpdate && ( @@ -150,7 +159,7 @@ function _OTAList(p: { /> )} - +
Platform