diff --git a/content/src/fieldConfig/nexus-dba-formation.json b/content/src/fieldConfig/nexus-dba-formation.json index 2247a15ecb..5ea8d147d0 100644 --- a/content/src/fieldConfig/nexus-dba-formation.json +++ b/content/src/fieldConfig/nexus-dba-formation.json @@ -1,6 +1,6 @@ { "DbaFormationTask": { - "warningText": "To view this task, you must first complete [Check if Your Business Name is Available in New Jersey](/tasks/search-business-name-nexus)", + "warningText": "To view this task, you must first complete [Check if Your Business Name is Available in New Jersey](/tasks/form-business-entity)", "descriptionShownWithWarning": "You must register your business name and `authorize|certificate-formation` your `business structure|business-structure-learn-more` with the State.", "dbaCtaModalHeader": "Before You Start", "dbaCtaModalBody": "This link will take you to a PDF.\n\nOnly pages 23 and 24 are relevant to your formation. Complete those pages and send them to Treasury, the address is on the top left of page 23.", diff --git a/web/public/mgmt/config.yml b/web/public/mgmt/config.yml index c564bde26e..ee329a461e 100644 --- a/web/public/mgmt/config.yml +++ b/web/public/mgmt/config.yml @@ -1421,32 +1421,6 @@ collections: delete: false create: false files: - - label: "Nexus Name Search - Task Metadata" - name: "nexus-name-search-task" - file: "content/src/roadmaps/tasks/search-business-name-nexus.md" - identifier_field: "{{fields.slug}}" - slug: "{{fields.slug}}" - editor: - preview: true - fields: - - { label: "Content", name: "body", widget: "markdown" } - - { label: "Url Slug", name: "urlSlug", widget: "nospace" } - - { label: "Filename", name: "filename", widget: "nospace", required: false } - - { label: "Name", name: "name", widget: "string" } - - { label: "Id", name: "id", widget: "nospace" } - - { label: "Call To Action Link", name: "callToActionLink", widget: "string", required: false } - - { label: "Call To Action Text", name: "callToActionText", widget: "string", required: false } - - label: Industry - name: industryId - widget: "relation" - collection: "roadmaps" - search_fields: ["{{id}}"] - value_field: "{{id}}" - display_fields: ["{{id}}"] - required: false - - { label: "Required", name: "required", widget: "boolean", required: false } - - { label: "Issuing Agency", name: "issuingAgency", widget: "string", required: false } - - { label: "Form Name", name: "formName", widget: "string", required: false } - label: "Name Search" name: nexus-name-search file: content/src/fieldConfig/nexus-name-search.json diff --git a/web/src/components/onboarding/ProfileNexusBusinessNameField.tsx b/web/src/components/onboarding/ProfileNexusBusinessNameField.tsx index ed34515e0d..164358a49d 100644 --- a/web/src/components/onboarding/ProfileNexusBusinessNameField.tsx +++ b/web/src/components/onboarding/ProfileNexusBusinessNameField.tsx @@ -2,6 +2,7 @@ import { ConfigType } from "@/contexts/configContext"; import { ProfileDataContext } from "@/contexts/profileDataContext"; import { useConfig } from "@/lib/data-hooks/useConfig"; import { getProfileConfig } from "@/lib/domain-logic/getProfileConfig"; +import { formationTaskId } from "@businessnjgovnavigator/shared/index"; import { ReactElement, useContext } from "react"; export const ProfileNexusBusinessNameField = (): ReactElement => { @@ -20,7 +21,7 @@ export const ProfileNexusBusinessNameField = (): ReactElement => {

{contentFromConfig.outOfStateNameHeader}

- {contentFromConfig.addButton} + {contentFromConfig.addButton}
{contentFromConfig.emptyBusinessPlaceHolder} @@ -34,7 +35,7 @@ export const ProfileNexusBusinessNameField = (): ReactElement => {

{contentFromConfig.outOfStateNameHeader}

- {contentFromConfig.editButton} + {contentFromConfig.editButton}
{state?.profileData.businessName}