Webhooks ported. Not tested.

This commit is contained in:
Tomas Bures 2018-09-23 21:23:12 +02:00
parent dda95ecdb3
commit 27021e9b2b
7 changed files with 296 additions and 17 deletions

View file

@ -58,14 +58,15 @@ export default class List extends Component {
const columns = [
{ data: 1, title: t('Name') },
{ data: 2, title: t('Description') },
{ data: 3, title: t('Type'), render: data => this.mailerTypes[data].typeName },
{ data: 4, title: t('Created'), render: data => moment(data).fromNow() },
{ data: 5, title: t('Namespace') },
{ data: 2, title: t('ID'), render: data => <code>{data}</code> },
{ data: 3, title: t('Description') },
{ data: 4, title: t('Type'), render: data => this.mailerTypes[data].typeName },
{ data: 5, title: t('Created'), render: data => moment(data).fromNow() },
{ data: 6, title: t('Namespace') },
{
actions: data => {
const actions = [];
const perms = data[6];
const perms = data[7];
if (perms.includes('edit')) {
actions.push({