瀏覽代碼

1. timesheet amendment - staff selection - sort by staffId

pull/5/head
cyril.tsui 6 月之前
父節點
當前提交
534c906782
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/components/TimesheetAmendment/TimesheetAmendment.tsx

+ 1
- 1
src/components/TimesheetAmendment/TimesheetAmendment.tsx 查看文件

@@ -117,7 +117,7 @@ const TimesheetAmendment: React.FC<Props> = ({
});
},
[],
);
).sort((a, b) => a.staffId.localeCompare(b.staffId));
}, [localTeamLeaves, localTeamTimesheets]);

const [selectedStaff, setSelectedStaff] = useState<MemberOption>(


Loading…
取消
儲存