export default {
  data() {
    return {
      entityAfterID: 'categories',
      m_categoriesConfig: {
        news_categories: {
          data: (data, contentType, { getData }) => {
            return getData(data, contentType)
          },
          disabledOn: ['NewsListingPage'],
          href: item => ({
            name: 'NewsListingPage',
            query: { news_categories: item.uuid }
          })
        },
        entities: {
          data: (data, contentType, { getData }) => {
            return getData(data, contentType)
          },
          disabledOn: ['NewsListingPage']
        }
      }
    }
  }
}
