Cards details modal

This commit is contained in:
Nicolai Ort 2023-04-12 20:07:46 +02:00
parent 5662c3b6da
commit f6985daec7
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -47,12 +47,6 @@
}));
}
);
const getRunnerLabel = (option) =>
option?.firstname +
" " +
(option?.middlename || "") +
" " +
(option?.lastname || "{$_('non-blanko')}");
const columns = [
{
@ -81,7 +75,13 @@
header: () => $_("action"),
cell: (info) => {
return renderComponent(TableActions, {
detailsLink: `./${info.row.original.id}`,
detailsAction: () => {
open_edit_modal(
current_cards[
current_cards.findIndex((r) => r.id == info.row.original.id)
]
);
},
deleteAction: () => {
active_delete =
current_cards[