export const getConfigHeaders = (hasAccount) =>
  [
    {
      id: 'email',
      label: 'Email',
      width: '100',
    },
    !hasAccount && {
      id: 'accountName',
      label: 'Account',
      width: '200',
    },
    {
      id: 'invitedByFullName',
      label: 'Invited by',
      width: '266',
    },
    {
      id: 'videoName',
      label: 'Video Name',
      width: '115',
    },
    {
      id: 'createdAt',
      label: 'Created At',
      sortable: true,
      width: '150',
    },
    {
      id: 'updatedAt',
      label: 'Updated At',
      sortable: true,
      width: '240',
    },
    {
      id: 'invitationStatus',
      label: 'Status',
      width: '240',
    },
    {
      id: 'actions',
      label: '',
      autoWidth: true,
      padding: 'none',
    },
  ].filter(Boolean);
