fixed graph on pengujian page
This commit is contained in:
parent
c8aaed9a7b
commit
6b53304630
|
@ -98,12 +98,12 @@ export default function (props: JSX.HTMLAttributes<HTMLDivElement>) {
|
|||
.eq("id", lastHistori()?.id);
|
||||
};
|
||||
|
||||
const noSaveHistori = async () => {
|
||||
await supabase
|
||||
.from("histori_fermentasi")
|
||||
.delete()
|
||||
.eq("id", lastHistori()?.id);
|
||||
};
|
||||
// const noSaveHistori = async () => {
|
||||
// await supabase
|
||||
// .from("histori_fermentasi")
|
||||
// .delete()
|
||||
// .eq("id", lastHistori()?.id);
|
||||
// };
|
||||
|
||||
const checkStatusDevice = async () => {
|
||||
if (pengaturan()?.running) {
|
||||
|
|
|
@ -51,7 +51,7 @@ export default function () {
|
|||
|
||||
kadarRegresi.push(nilaiRegresi - nilaiRegresiPertiga);
|
||||
|
||||
if (jamPengujian) {
|
||||
if (typeof jamPengujian == "number") {
|
||||
labels.push(jamPengujian.toString());
|
||||
i = jamPengujian + 6;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue