+
{
style={{
width: "auto", // Allow tab width to adjust automatically
whiteSpace: "nowrap", // Prevent text from breaking
- padding: "10px 15px", // Add padding for spacing
}}
itemStyle={{ width: "unset !important" }}
/>
- censusSearch([])}
- />
+
+ censusSearch([])}
+ />
+
-
+
{selectedRows.length > 0 && (
-
-
- {selectedRows.length} {selectedRows.length === 1 ? t('MICROPLAN_SELECTED') : t('MICROPLAN_SELECTED_PLURAL')}
+
+
+
+
{`${selectedRows.length} ${
+ selectedRows?.length === 1 ? t("MICROPLAN_SELECTED") : t("MICROPLAN_SELECTED_PLURAL")
+ }`}
+
+
+
+
-
)}
- {tableLoader ?
: censusData && (
-
- )}
- {viewDetails && accessibilityData && (
-
closeViewDetails()} census={accessibilityData} />
- )}
- {viewDetails && securityData && (
- closeViewDetails()} census={securityData} />
+ {tableLoader ? (
+
+ ) : (
+ censusData && (
+
+ )
)}
-
+ {viewDetails && accessibilityData &&
closeViewDetails()} census={accessibilityData} />}
+ {viewDetails && securityData && closeViewDetails()} census={securityData} />}
+
{showToast && (
setShowToast(null)}
diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/SearchJurisdiction.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/SearchJurisdiction.js
index e7bd3ad4ae4..1477c209e25 100644
--- a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/SearchJurisdiction.js
+++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/SearchJurisdiction.js
@@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";
import { useMyContext } from "../utils/context";
import { Dropdown, MultiSelectDropdown } from "@egovernments/digit-ui-components";
-const SearchJurisdiction = ({ boundaries, jurisdiction, onSubmit = () => { }, onClear = () => { } }) => {
+const SearchJurisdiction = ({ boundaries, jurisdiction, onSubmit = () => { }, onClear = () => { } ,style={}}) => {
const { t } = useTranslation();
const {
state: { hierarchyType, boundaryHierarchy },
@@ -51,10 +51,10 @@ const SearchJurisdiction = ({ boundaries, jurisdiction, onSubmit = () => { }, on
}
return (
-
+
- {t("SELECT_HIERARCHY_LEVEL")}
+ {t("SELECT_HIERARCHY_LEVEL")}
{ }, on
}}
/>
-
- {t("SELECT_BOUNDARIES")}
+
+ {t("SELECT_BOUNDARIES")}
{
// Map API response to timeline steps
const steps = workflowData.ProcessInstances.map((instance, index) => ({
- label: instance.state.applicationStatus,
+ label: t(instance.state.applicationStatus),
variant: 'completed',
subElements: [Digit.Utils.microplanv1.epochToDateTime(instance?.auditDetails?.lastModifiedTime),
instance?.assignes?.length > 0 ? instance.assignes[0]?.name : 'NA',