Can delete a single inbox entry
This commit is contained in:
@ -167,7 +167,7 @@ function MovementsTable(p: {
|
||||
try {
|
||||
if (
|
||||
!(await confirm(
|
||||
`Do you really want to detach the file attached to the movement ${movement.label} (${movement.amount}€)? The associated file will be automatically deleted within the day if it is not referenced anywhere else!`,
|
||||
`Do you really want to detach the file attached to the movement ${movement.label} (${movement.amount} €)? The associated file will be automatically deleted within the day if it is not referenced anywhere else!`,
|
||||
`Detach file from movement`,
|
||||
`Detach file`
|
||||
))
|
||||
@ -186,7 +186,7 @@ function MovementsTable(p: {
|
||||
try {
|
||||
if (
|
||||
!(await confirm(
|
||||
`Do you really want to delete the movement ${movement.label} (${movement.amount}€)?`
|
||||
`Do you really want to delete the movement ${movement.label} (${movement.amount} €)?`
|
||||
))
|
||||
)
|
||||
return;
|
||||
@ -377,7 +377,9 @@ function MovementsTable(p: {
|
||||
variant="standard"
|
||||
size="small"
|
||||
value={labelFilter}
|
||||
onChange={(e) => { setLabelFilter(e.target.value); }}
|
||||
onChange={(e) => {
|
||||
setLabelFilter(e.target.value);
|
||||
}}
|
||||
style={{ padding: "0px", flex: 1 }}
|
||||
/>
|
||||
<span style={{ flex: 1 }}></span>
|
||||
|
Reference in New Issue
Block a user