Cards details modal
This commit is contained in:
parent
5662c3b6da
commit
f6985daec7
@ -47,12 +47,6 @@
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const getRunnerLabel = (option) =>
|
|
||||||
option?.firstname +
|
|
||||||
" " +
|
|
||||||
(option?.middlename || "") +
|
|
||||||
" " +
|
|
||||||
(option?.lastname || "{$_('non-blanko')}");
|
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
@ -81,7 +75,13 @@
|
|||||||
header: () => $_("action"),
|
header: () => $_("action"),
|
||||||
cell: (info) => {
|
cell: (info) => {
|
||||||
return renderComponent(TableActions, {
|
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: () => {
|
deleteAction: () => {
|
||||||
active_delete =
|
active_delete =
|
||||||
current_cards[
|
current_cards[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user