upd: grup
Deskripsi: - penamaan grup diganti dengan darmasaba - *blm di page lain No Issues
This commit is contained in:
@@ -33,7 +33,7 @@ export default function EditDrawerGroup({ onUpdated, id, isActive, }: { onUpdate
|
||||
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
toast.error("Gagal mendapatkan grup, coba lagi nanti");
|
||||
toast.error("Gagal mendapatkan data, coba lagi nanti");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function EditDrawerGroup({ onUpdated, id, isActive, }: { onUpdate
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
toast.error("Edit grup gagal, coba lagi nanti");
|
||||
toast.error("Edit data gagal, coba lagi nanti");
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
@@ -95,7 +95,7 @@ export default function EditDrawerGroup({ onUpdated, id, isActive, }: { onUpdate
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
toast.error("Edit grup gagal, coba lagi nanti");
|
||||
toast.error("Edit data gagal, coba lagi nanti");
|
||||
} finally {
|
||||
setLoadingModal(false)
|
||||
setModal(false);
|
||||
@@ -139,7 +139,7 @@ export default function EditDrawerGroup({ onUpdated, id, isActive, }: { onUpdate
|
||||
<LayoutDrawer
|
||||
opened={openDrawerGroup}
|
||||
onClose={() => setOpenDrawerGroup(false)}
|
||||
title={"Edit Grup"}
|
||||
title={"Edit Darmasaba"}
|
||||
>
|
||||
<Box pos={"relative"} h={"28.5vh"}>
|
||||
<TextInput
|
||||
@@ -157,13 +157,13 @@ export default function EditDrawerGroup({ onUpdated, id, isActive, }: { onUpdate
|
||||
}}
|
||||
error={
|
||||
touched.name &&
|
||||
(name == "" ? "Grup Tidak Boleh Kosong" :
|
||||
(name == "" ? "Tidak Boleh Kosong" :
|
||||
name.length < 3 ? "Masukkan Minimal 3 karakter" : ""
|
||||
)
|
||||
}
|
||||
radius={10}
|
||||
placeholder="Grup"
|
||||
label="Grup"
|
||||
placeholder="Darmasaba"
|
||||
label="Darmasaba"
|
||||
required
|
||||
/>
|
||||
<Box pos={"absolute"} bottom={10} left={0} right={0}>
|
||||
|
||||
Reference in New Issue
Block a user