feat: #11 je tohle feat?, pridani poctu lidi k restauraci
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
This commit is contained in:
parent
999a517404
commit
d144c55bf7
@ -476,9 +476,13 @@ function App() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const locationLoginList = Object.entries(loginObject);
|
const locationLoginList = Object.entries(loginObject);
|
||||||
|
const locationPickCount = locationLoginList.length
|
||||||
return (
|
return (
|
||||||
<tr key={key}>
|
<tr key={key}>
|
||||||
<td>{locationName}</td>
|
{(locationPickCount?? 0) > 1 ? (
|
||||||
|
<td>{locationName} ({locationPickCount})</td>
|
||||||
|
) : (
|
||||||
|
<td>{locationName}</td>)}
|
||||||
<td className='p-0'>
|
<td className='p-0'>
|
||||||
<Table>
|
<Table>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user