update notification
This commit is contained in:
@ -111,6 +111,16 @@ const ListToolBar = () => {
|
||||
/>
|
||||
</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">
|
||||
<KeenIcon icon="magnifier" />
|
||||
<input
|
||||
@ -139,15 +149,6 @@ const ListToolBar = () => {
|
||||
>
|
||||
Add Data
|
||||
</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'}>
|
||||
<Button variant="outline" className="h-7.5" onClick={() => reload()}>
|
||||
<KeenIcon icon="arrows-circle" />
|
||||
|
||||
@ -7,9 +7,6 @@ export interface selectedNotification {
|
||||
via: string;
|
||||
subject: string;
|
||||
content: string;
|
||||
id: string;
|
||||
created_by: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export const initialStateNotification: selectedNotification = {
|
||||
@ -18,10 +15,7 @@ export const initialStateNotification: selectedNotification = {
|
||||
type: '',
|
||||
via: '',
|
||||
subject: '',
|
||||
content: '',
|
||||
id: '',
|
||||
created_by: '',
|
||||
created_at: ''
|
||||
content: ''
|
||||
};
|
||||
|
||||
export const validateFormNotification = (
|
||||
|
||||
Reference in New Issue
Block a user