Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We export only the init function of the module to take care of all the initializationsinitialization.

Code Block
languagejs
import { initFSMComponents } from "@egovernments/digit-ui-module-fsm";

const enabledModules = ["FSM"];
initFSMComponents();

Adding FSM Card in Old UI

FSM Card can be added to old UI via the following change as per MDMS config https://github.com/egovernments/egov-mdms-data/commit/1ec76caf299e669dcc5c7aa443baa928544a4183

Changing CSS

CSS classes are published over CDN and can be seen at https://unpkg.com/@egovernments/digit-ui-css/dist/index.css

...

Code Block
getApplicationDetailsTableRows: ({ id, service, role, t }) => {
    if (role === "CITIZEN") {
      return {
        CS_FSM_APPLICATION_APPLICATION_NO: service.applicationNo,
        CS_FSM_APPLICATION_DETAIL_STATUS: t("CS_COMMON_" + service.applicationStatus),
        ...
      };
    }
    return {};
  }

...

FAQ

In addition to any FAQs of the main implementation document. 

...