export const getConfigHeaders = (hasAccount) =>
  [
    {
      id: 'id',
      label: 'Id',
      sortable: true,
      width: '100',
    },
    {
      id: 'name',
      label: 'Name',
      width: '266',
    },
    !hasAccount && {
      id: 'account',
      label: 'Account',
      width: '266',
    },
    {
      id: 'count',
      label: 'Players',
      width: '115',
    },
    {
      id: 'updatedBy',
      label: 'Updated By',
      sortable: true,
      width: '240',
    },
    {
      id: 'updatedAt',
      label: 'Updated Date',
      sortable: true,
      width: '240',
    },
  ].filter(Boolean);
