updatee
This commit is contained in:
@@ -322,6 +322,7 @@ const Notification = () => {
|
||||
onSubmit={handleSubmit(onSubmit)}
|
||||
btnLoading={isLoading}
|
||||
>
|
||||
<Box overflow={'scroll'} h={'58vh'}>
|
||||
<NormalTable
|
||||
centered={true}
|
||||
emptyMessage={`We don't have any Sponers `}
|
||||
@@ -332,6 +333,7 @@ const Notification = () => {
|
||||
selectedRadio={selectedRadio}
|
||||
showRadioButton={true}
|
||||
/>
|
||||
</Box>
|
||||
</FormInputMain>
|
||||
</Box>
|
||||
);
|
||||
|
||||
@@ -135,8 +135,10 @@ const EmailNotification = () => {
|
||||
|
||||
const modules = {
|
||||
toolbar: [
|
||||
[{ header: "1" }, { header: "2" }, { font: [] }],
|
||||
[{ size: [] }],
|
||||
// [{ header: "1" }, { header: "2" },
|
||||
// // { font: [] }
|
||||
// ],
|
||||
// [{ size: [] }],
|
||||
["bold", "italic", "underline", "strike", "blockquote"],
|
||||
[{ list: "ordered" }, { list: "bullet" }],
|
||||
["clean"],
|
||||
@@ -219,7 +221,7 @@ const EmailNotification = () => {
|
||||
pb={14}
|
||||
pt={4}
|
||||
>
|
||||
<FormControl mb={6}>
|
||||
<FormControl mb={0}>
|
||||
{/* <HStack
|
||||
py={4}
|
||||
pb={3}
|
||||
@@ -269,6 +271,7 @@ const EmailNotification = () => {
|
||||
|
||||
</FormControl>
|
||||
|
||||
<Box overflow={'scroll'} h={'58vh'}>
|
||||
<NormalTable
|
||||
centered={true}
|
||||
emptyMessage={`We don't have any Sponsors`}
|
||||
@@ -278,6 +281,7 @@ const EmailNotification = () => {
|
||||
selectedRadio={selectedRadio}
|
||||
showRadioButton={true}
|
||||
/>
|
||||
</Box>
|
||||
|
||||
<HStack justifyContent={"flex-end"} px={2}>
|
||||
<Button
|
||||
|
||||
@@ -15,7 +15,7 @@ export const fawateerRequest = createApi({
|
||||
|
||||
getFawateerRequest: builder.query({
|
||||
query: ({ page, size, searchTerm }) => {
|
||||
let baseURL = `/fawateer/admin/Pending?search_data=${searchTerm || ""}`;
|
||||
let baseURL = `/fawateer/admin/Pending?search=${searchTerm || ""}`;
|
||||
if (page !== undefined && size !== undefined) {
|
||||
baseURL += `&page=${page}&size=${size}`; // Only add pagination if both are defined
|
||||
}
|
||||
@@ -41,7 +41,7 @@ export const fawateerRequest = createApi({
|
||||
|
||||
getFawateerForMakerRequest: builder.query({
|
||||
query: ({ page, size, searchTerm }) => {
|
||||
let baseURL = `/fawateer/admin?search_data=${searchTerm || ""}`;
|
||||
let baseURL = `/fawateer/admin?search=${searchTerm || ""}`;
|
||||
if (page !== undefined && size !== undefined) {
|
||||
baseURL += `&page=${page}&size=${size}`; // Only add pagination if both are defined
|
||||
}
|
||||
|
||||
@@ -328,7 +328,7 @@ export const ioService = createApi({
|
||||
|
||||
getSponserMaster: builder.query({
|
||||
query: ({ page, size, searchTerm }) => {
|
||||
let baseURL = `/sponsor/admin/?search_data=${searchTerm || ""}`;
|
||||
let baseURL = `/sponsor/admin/?search=${searchTerm || ""}`;
|
||||
if (page !== undefined && size !== undefined) {
|
||||
baseURL += `&page=${page}&size=${size}`; // Only add pagination if both are defined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user