Merge pull request #181 from bipproduction/amalia/11-des-24
Amalia/11 des 24
This commit is contained in:
@@ -108,14 +108,12 @@ export default function DrawerKatalogNew({
|
||||
</Group>
|
||||
<SimpleGrid cols={4}>
|
||||
{listPage.map((e, i) => (
|
||||
<Stack key={i} align="center" spacing={"xs"}>
|
||||
<ActionIcon
|
||||
variant="transparent"
|
||||
c="white"
|
||||
onClick={() => {
|
||||
router.push(e.path, { scroll: false });
|
||||
}}
|
||||
>
|
||||
<Stack key={i} align="center" spacing={"xs"}
|
||||
onClick={() => {
|
||||
router.push(e.path, { scroll: false });
|
||||
}}
|
||||
>
|
||||
<ActionIcon variant="transparent" c="white" >
|
||||
{e.icon}
|
||||
</ActionIcon>
|
||||
<Text align="center" color="white">
|
||||
|
||||
@@ -30,6 +30,7 @@ export function Portofolio_ComponentButtonSelanjutnya({
|
||||
const [loading, setLoading] = useState(false);
|
||||
|
||||
async function onSubmit() {
|
||||
setLoading(true);
|
||||
const porto = {
|
||||
namaBisnis: dataPortofolio.namaBisnis,
|
||||
masterBidangBisnisId: dataPortofolio.masterBidangBisnisId,
|
||||
@@ -56,7 +57,6 @@ export function Portofolio_ComponentButtonSelanjutnya({
|
||||
fileId: uploadFileToStorage.data.id,
|
||||
});
|
||||
if (res.status === 201) {
|
||||
setLoading(true);
|
||||
ComponentGlobal_NotifikasiBerhasil("Berhasil disimpan");
|
||||
router.replace(RouterMap.create + res.id, { scroll: false });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user