update notification
This commit is contained in:
@ -111,6 +111,16 @@ const ListToolBar = () => {
|
|||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
<DefaultTooltip title={'Reset Filter'} placement={'top'}>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
className="h-8 disabled:bg-gray-400"
|
||||||
|
onClick={handleClearAllFilters}
|
||||||
|
>
|
||||||
|
<KeenIcon icon="arrow-circle-left" />
|
||||||
|
</Button>
|
||||||
|
</DefaultTooltip>
|
||||||
|
|
||||||
<label className="input input-sm w-1/3">
|
<label className="input input-sm w-1/3">
|
||||||
<KeenIcon icon="magnifier" />
|
<KeenIcon icon="magnifier" />
|
||||||
<input
|
<input
|
||||||
@ -139,15 +149,6 @@ const ListToolBar = () => {
|
|||||||
>
|
>
|
||||||
Add Data
|
Add Data
|
||||||
</Button>
|
</Button>
|
||||||
<DefaultTooltip title={'Reset Filter'} placement={'top'}>
|
|
||||||
<Button
|
|
||||||
variant="outline"
|
|
||||||
className="h-8 disabled:bg-gray-400"
|
|
||||||
onClick={handleClearAllFilters}
|
|
||||||
>
|
|
||||||
<KeenIcon icon="arrow-circle-left" />
|
|
||||||
</Button>
|
|
||||||
</DefaultTooltip>
|
|
||||||
<DefaultTooltip title={'Refresh'} placement={'top'}>
|
<DefaultTooltip title={'Refresh'} placement={'top'}>
|
||||||
<Button variant="outline" className="h-7.5" onClick={() => reload()}>
|
<Button variant="outline" className="h-7.5" onClick={() => reload()}>
|
||||||
<KeenIcon icon="arrows-circle" />
|
<KeenIcon icon="arrows-circle" />
|
||||||
|
|||||||
@ -7,9 +7,6 @@ export interface selectedNotification {
|
|||||||
via: string;
|
via: string;
|
||||||
subject: string;
|
subject: string;
|
||||||
content: string;
|
content: string;
|
||||||
id: string;
|
|
||||||
created_by: string;
|
|
||||||
created_at: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const initialStateNotification: selectedNotification = {
|
export const initialStateNotification: selectedNotification = {
|
||||||
@ -18,10 +15,7 @@ export const initialStateNotification: selectedNotification = {
|
|||||||
type: '',
|
type: '',
|
||||||
via: '',
|
via: '',
|
||||||
subject: '',
|
subject: '',
|
||||||
content: '',
|
content: ''
|
||||||
id: '',
|
|
||||||
created_by: '',
|
|
||||||
created_at: ''
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const validateFormNotification = (
|
export const validateFormNotification = (
|
||||||
|
|||||||
Reference in New Issue
Block a user