Merge branch 'Kartik_Bug#805' of https://git.marcoaiot.com/admin/marco.pms.web into Kartik_Bug#805
This commit is contained in:
commit
029b8300ff
@ -85,9 +85,7 @@ const NotesDirectory = ({
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
setIsSubmitting(false);
|
setIsSubmitting(false);
|
||||||
const msg =
|
const msg =
|
||||||
error.response?.data?.message ||
|
error.response?.data?.message || error.message || "Error occurred during API calling";
|
||||||
error.message ||
|
|
||||||
"Error occurred during API calling";
|
|
||||||
showToast(msg, "error");
|
showToast(msg, "error");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -197,7 +195,7 @@ const NotesDirectory = ({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className=" justify-content-start px-1 mt-1">
|
<div className="justify-content-start px-1 mt-1">
|
||||||
{isLoading && (
|
{isLoading && (
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
{" "}
|
{" "}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user