Succes messaged changed
This commit is contained in:
parent
3728cc82cc
commit
0fa0510849
@ -162,7 +162,7 @@ const ManageSubmissions = () => {
|
|||||||
const ok = (response && response.data) || response?.status === 200 || response?.status === 'success';
|
const ok = (response && response.data) || response?.status === 200 || response?.status === 'success';
|
||||||
|
|
||||||
if (ok) {
|
if (ok) {
|
||||||
showToast('success', 'Submission approved successfully');
|
showToast('success', 'Submission has been approved');
|
||||||
// Refresh the submissions list
|
// Refresh the submissions list
|
||||||
const data = await fetchDashboardData(selectedQuarter, selectedYear);
|
const data = await fetchDashboardData(selectedQuarter, selectedYear);
|
||||||
const userProfile = JSON.parse(localStorage.getItem("user_profile"));
|
const userProfile = JSON.parse(localStorage.getItem("user_profile"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user