mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-24 04:17:50 +00:00
TSK-871: Fix overtime display (#2769)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
1fe73b588e
commit
c1e4abd766
@ -58,7 +58,7 @@
|
||||
<div class="w-full h-full relative p-1 flex">
|
||||
{#each requests as request}
|
||||
{#await getType(request) then type}
|
||||
{#if type && !(isWeekend(date) || (isHoliday(getHolidayDatesForEmployee(staffDepartmentMap, employee._id, holidays), date) && noWeekendHolidayType.includes(type._id)))}
|
||||
{#if type && !((isWeekend(date) || isHoliday(getHolidayDatesForEmployee(staffDepartmentMap, employee._id, holidays), date)) && noWeekendHolidayType.includes(type._id))}
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<div
|
||||
class="request flex-center"
|
||||
|
@ -454,6 +454,7 @@ export function start (
|
||||
})
|
||||
|
||||
app.get('*', function (request, response) {
|
||||
response.set('Cache-Control', 'no-cache')
|
||||
response.sendFile(join(dist, 'index.html'))
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user