diff --git a/packages/openchs-android/src/views/SyncComponent.js b/packages/openchs-android/src/views/SyncComponent.js index c68220ec4..a2aff5d0d 100644 --- a/packages/openchs-android/src/views/SyncComponent.js +++ b/packages/openchs-android/src/views/SyncComponent.js @@ -49,9 +49,6 @@ class SyncComponent extends AbstractComponent { this.context.getService(SyncService).resetServicesAfterFullSyncCompletion(SyncService.syncSources.SYNC_BUTTON); this.dispatchAction(SyncActions.POST_SYNC); this.setState({syncStarted: false}); - LocalCacheService.getPreviouslySelectedSubjectTypeUuid().then(cachedSubjectTypeUUID => { - this.dispatchAction(Actions.ON_LOAD, {cachedSubjectTypeUUID}); - }); General.logInfo(this.viewName(), 'Sync completed dispatching reset'); } diff --git a/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js b/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js index ae36cf3d1..5bc618500 100644 --- a/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js +++ b/packages/openchs-android/src/views/customDashboard/CustomDashboardView.js @@ -27,6 +27,7 @@ import ChecklistListingView from "../checklist/ChecklistListingView"; import {FilterActionNames} from '../../action/mydashboard/FiltersActionsV2'; import Distances from '../primitives/Distances'; import AppliedFiltersV2 from '../filter/AppliedFiltersV2'; +import General from "../../utility/General"; @Path('/customDashboardView') class CustomDashboardView extends AbstractComponent { @@ -212,6 +213,7 @@ class CustomDashboardView extends AbstractComponent { } render() { + General.logDebug("CustomDashboardView", "render"); const title = this.props.title || 'dashboards'; const {hasFilters, loading} = this.state; return (