Add datatable step when exist entity datatable checks (#1633)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-01-05 11:58:16 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent cafe8fa73d
commit 3a3d96222e
14 changed files with 70 additions and 191 deletions
@@ -34,7 +34,7 @@ export class NotesTabComponent implements OnInit {
id: response.resourceId,
createdByUsername: this.username,
createdOn: new Date(),
note: noteContent
note: noteContent.note
});
});
}
@@ -17,7 +17,7 @@ export class SavingsDocumentsTabComponent implements OnInit {
entityDocuments: any;
/** Stores the saving Account Id */
entityId: string;
entityType: string = 'savings';
entityType = 'savings';
/**
* Retrieves the savings data from `resolve`.
+2 -3
View File
@@ -41,7 +41,6 @@ import { SavingsDocumentsTabComponent } from './savings-account-view/savings-doc
import { NotesTabComponent } from './savings-account-view/notes-tab/notes-tab.component';
import { SavingNotesResolver } from './common-resolvers/saving-notes.resolver';
import { SavingDocumentsResolver } from './common-resolvers/saving-documents.resolver';
import { DocumentsTabComponent } from 'app/clients/clients-view/documents-tab/documents-tab.component';
/** Savings Routes */
const routes: Routes = [
{
@@ -106,10 +105,10 @@ const routes: Routes = [
},
{
path: 'documents',
component: DocumentsTabComponent,
component: SavingsDocumentsTabComponent,
data: { title: extract('Savings Account Documents'), breadcrumb: 'Documents', routeParamBreadcrumb: false },
resolve: {
savingAccountDocuments: SavingDocumentsResolver
savingsDocuments: SavingDocumentsResolver
}
},
{