Search External Asset Owner (#1851)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-08-27 16:14:44 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent b50ac452f5
commit 10e84d1acb
11 changed files with 245 additions and 216 deletions
+8 -5
View File
@@ -24,7 +24,11 @@ export class FooterComponent implements OnInit, OnDestroy {
/** Mifos X version. */
versions: any = {
mifos: environment.version
mifos: environment.version,
fineract: {
version: '',
hash: ''
}
};
/** Mifos X hash */
hash: string = environment.hash;
@@ -67,10 +71,9 @@ export class FooterComponent implements OnInit, OnDestroy {
this.getConfigurations();
this.server = this.settingsService.server;
this.versionService.getBackendInfo().subscribe((data: any) => {
const buildVersion: string = data.git.build.version;
this.versions.fineract = {
version: buildVersion.split('-')
};
const buildVersion: string = data.git.build.version.split('-');
this.versions.fineract.version = buildVersion[0];
this.versions.fineract.hash = buildVersion[1];
});
}