set checkin-out button side right
This commit is contained in:
parent
60232cf121
commit
4a5d9c05e6
@ -24,7 +24,7 @@ const RenderAttendanceStatus = ({ attendanceData, handleModalData,Tab,currentDat
|
|||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="d-flex justify-content-center">
|
<div className="d-flex justify-content-end">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={`btn btn-xs ${color}`}
|
className={`btn btn-xs ${color}`}
|
||||||
|
|||||||
@ -20,8 +20,6 @@ export const markAttendance = createAsyncThunk(
|
|||||||
'attendanceLogs/markAttendance', // Updated action type prefix
|
'attendanceLogs/markAttendance', // Updated action type prefix
|
||||||
async ( formData, thunkAPI ) =>
|
async ( formData, thunkAPI ) =>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let newRecordAttendance = {
|
let newRecordAttendance = {
|
||||||
Id: formData.id || null,
|
Id: formData.id || null,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user