fix: content refetched after action (#1449)
This commit is contained in:
@@ -59,6 +59,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: CentersViewComponent,
|
component: CentersViewComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
centerViewData: CenterViewResolver,
|
||||||
centerDatatables: CenterDatatablesResolver
|
centerDatatables: CenterDatatablesResolver
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: FixedDepositAccountViewComponent,
|
component: FixedDepositAccountViewComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
fixedDepositsAccountData: FixedDepositsAccountViewResolver,
|
||||||
savingsDatatables: SavingsDatatablesResolver
|
savingsDatatables: SavingsDatatablesResolver
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: GroupsViewComponent,
|
component: GroupsViewComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
groupViewData: GroupViewResolver,
|
||||||
groupDatatables: GroupDatatablesResolver
|
groupDatatables: GroupDatatablesResolver
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: LoansViewComponent,
|
component: LoansViewComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
loanDetailsData: LoanDetailsResolver,
|
||||||
loanDatatables: LoanDatatablesResolver,
|
loanDatatables: LoanDatatablesResolver,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -135,6 +135,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewLoanProductComponent,
|
component: ViewLoanProductComponent,
|
||||||
|
resolve: {
|
||||||
|
loanProduct: LoanProductResolver
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -177,6 +180,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewSavingProductComponent,
|
component: ViewSavingProductComponent,
|
||||||
|
resolve: {
|
||||||
|
savingProduct: SavingProductResolver
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -219,6 +225,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewShareProductComponent,
|
component: ViewShareProductComponent,
|
||||||
|
resolve: {
|
||||||
|
shareProduct: ShareProductResolver
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -298,6 +307,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewTaxComponentComponent,
|
component: ViewTaxComponentComponent,
|
||||||
|
resolve: {
|
||||||
|
taxComponent: TaxComponentResolver
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -340,6 +352,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewTaxGroupComponent,
|
component: ViewTaxGroupComponent,
|
||||||
|
resolve: {
|
||||||
|
taxGroup: TaxGroupResolver
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -385,6 +400,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: ViewRecurringDepositProductComponent,
|
component: ViewRecurringDepositProductComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
recurringDepositProduct: RecurringDepositProductResolver,
|
||||||
recurringDepositProductsTemplate: RecurringDepositProductsTemplateResolver
|
recurringDepositProductsTemplate: RecurringDepositProductsTemplateResolver
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -430,6 +446,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: ViewFixedDepositProductComponent,
|
component: ViewFixedDepositProductComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
fixedDepositProduct: FixedDepositProductResolver,
|
||||||
fixedDepositProductsTemplate: FixedDepositProductsTemplateResolver
|
fixedDepositProductsTemplate: FixedDepositProductsTemplateResolver
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -474,6 +491,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewProductMixComponent,
|
component: ViewProductMixComponent,
|
||||||
|
resolve: {
|
||||||
|
productMix: ViewProductMixResolver
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -513,6 +533,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewFloatingRateComponent,
|
component: ViewFloatingRateComponent,
|
||||||
|
resolve: {
|
||||||
|
floatingRate: FloatingRateResolver
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
@@ -555,6 +578,9 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: ViewChargeComponent,
|
component: ViewChargeComponent,
|
||||||
|
resolve: {
|
||||||
|
charge: ChargeResolver
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit',
|
path: 'edit',
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: SavingsAccountViewComponent,
|
component: SavingsAccountViewComponent,
|
||||||
resolve: {
|
resolve: {
|
||||||
|
savingsAccountData: SavingsAccountViewResolver,
|
||||||
savingsDatatables: SavingsDatatablesResolver
|
savingsDatatables: SavingsDatatablesResolver
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user