text: import { baseUrl } from '../../config';
  import { extractObjectValuesToArray } from '../../helpers/contextCreatorHelper';
  
  export const getContext = ({ organisation }) => ({
    organisationName: organisation.name,
    odsCode: organisation.odsCode,
    primaryRoleId: organisation.primaryRoleId,
    address: organisation.address ? extractObjectValuesToArray(organisation.address) : [],
    agreementSigned: organisation.catalogueAgreementSigned,
    backLinkHref: `${baseUrl}/organisations/${organisation.organisationId}`,
    saveCatalogueAgreementPostAction: `${baseUrl}/organisations/${organisation.organisationId}/edit`,
  });
  