petabencana / cognicity-cards-ng

CogniCity reporting cards angular project
0 stars 6 forks source link

Change Text for last card #51

Closed Ssravani272 closed 7 months ago

ruthvik129 commented 11 months ago

@Ssravani272 i have reverted the PR for this issue as the text is changed directly , The text should be rendered conditionally i.e

Check line no 184 in en.json or id.json for reference

    "submitButton": {
        "real": "Submit Report",
        "training": "Complete Training"
    },

You can also see how the submit-button-component is rendering the text based on real or traning report , the same should be replicated in thank-you component