Add datatable step when exist entity datatable checks (#1633)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
cafe8fa73d
commit
3a3d96222e
@@ -34,7 +34,7 @@ export class NotesTabComponent implements OnInit {
|
||||
id: response.resourceId,
|
||||
createdByUsername: this.username,
|
||||
createdOn: new Date(),
|
||||
note: noteContent
|
||||
note: noteContent.note
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
@@ -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`.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user