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);
|
.eq("id", lastHistori()?.id);
|
||||||
};
|
};
|
||||||
|
|
||||||
const noSaveHistori = async () => {
|
// const noSaveHistori = async () => {
|
||||||
await supabase
|
// await supabase
|
||||||
.from("histori_fermentasi")
|
// .from("histori_fermentasi")
|
||||||
.delete()
|
// .delete()
|
||||||
.eq("id", lastHistori()?.id);
|
// .eq("id", lastHistori()?.id);
|
||||||
};
|
// };
|
||||||
|
|
||||||
const checkStatusDevice = async () => {
|
const checkStatusDevice = async () => {
|
||||||
if (pengaturan()?.running) {
|
if (pengaturan()?.running) {
|
||||||
|
|
|
@ -51,7 +51,7 @@ export default function () {
|
||||||
|
|
||||||
kadarRegresi.push(nilaiRegresi - nilaiRegresiPertiga);
|
kadarRegresi.push(nilaiRegresi - nilaiRegresiPertiga);
|
||||||
|
|
||||||
if (jamPengujian) {
|
if (typeof jamPengujian == "number") {
|
||||||
labels.push(jamPengujian.toString());
|
labels.push(jamPengujian.toString());
|
||||||
i = jamPengujian + 6;
|
i = jamPengujian + 6;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue