diff --git a/dashboard/src/states/Dashboard/pages/Licenses/columns.jsx b/dashboard/src/states/Dashboard/pages/Licenses/columns.jsx index 0705d89..ea1dc84 100644 --- a/dashboard/src/states/Dashboard/pages/Licenses/columns.jsx +++ b/dashboard/src/states/Dashboard/pages/Licenses/columns.jsx @@ -1,7 +1,7 @@ import {Chip, IconButton, Stack} from "@mui/material"; import {Delete, Edit, Key} from "@mui/icons-material"; -export default (deleteLicense) => ([ +export default (deleteLicense, editLicense) => ([ { field: 'key', headerName: 'License key', width: 230, renderCell: (params) => @@ -30,7 +30,7 @@ export default (deleteLicense) => ([ { field: 'actions', headerName: 'Actions', width: 100, renderCell: (params) => - + editLicense(params.row)}> deleteLicense(params.row.id)}> , sortable: false, filterable: false, align: 'center' }