diff --git a/src/billable-services/dashboard/dashboard.component.tsx b/src/billable-services/dashboard/dashboard.component.tsx index c3d0556..5cb3395 100644 --- a/src/billable-services/dashboard/dashboard.component.tsx +++ b/src/billable-services/dashboard/dashboard.component.tsx @@ -1,12 +1,12 @@ import React from 'react'; import BillableServices from '../billable-services.component'; -import ServiceMetrics from './service-metrics.component'; import styles from './dashboard.scss'; +import { ExtensionSlot } from '@openmrs/esm-framework'; export default function BillableServicesDashboard() { return (
- +
diff --git a/src/billable-services/dashboard/service-metrics.component.tsx b/src/billable-services/dashboard/service-metrics.component.tsx index c03b324..fe62477 100644 --- a/src/billable-services/dashboard/service-metrics.component.tsx +++ b/src/billable-services/dashboard/service-metrics.component.tsx @@ -36,7 +36,6 @@ export default function ServiceMetrics() { {cards.map((card) => ( ))} - ); } diff --git a/src/index.ts b/src/index.ts index 3bc35a1..8b1ecf4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -41,14 +41,10 @@ export const billingSummaryDashboardLink = getSyncLifecycle( options, ); -export const billingServicesTiles = getSyncLifecycle(ServiceMetrics, { - featureName: 'billing-home-tiles', - moduleName, -}); - export const billableServicesCardLink = getSyncLifecycle(BillableServicesCardLink, options); export const billableServicesHome = getSyncLifecycle(BillableServiceHome, options); export const billingCheckInForm = getSyncLifecycle(BillingCheckInForm, options); +export const serviceMetrics = getSyncLifecycle(ServiceMetrics, options); export const billingForm = getSyncLifecycle(BillingForm, options); export const billingPatientSummary = getSyncLifecycle(BillHistory, options); export const requirePaymentModal = getSyncLifecycle(RequirePaymentModal, options); diff --git a/src/routes.json b/src/routes.json index e6e743a..ed9626a 100644 --- a/src/routes.json +++ b/src/routes.json @@ -73,7 +73,7 @@ { "name": "billing-home-tiles-ext", "slot": "billing-home-tiles-slot", - "component": "billingServicesTiles" + "component": "serviceMetrics" } ] } \ No newline at end of file