mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
fix about page imports
This commit is contained in:
parent
89fb92d1d9
commit
f747ee8673
@ -18,7 +18,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Http } from '@angular/http';
|
||||
import { DiscoveryApiService } from '@alfresco/adf-core';
|
||||
import { EcmProductVersionModel, ObjectDataTableAdapter } from '@alfresco/adf-content-services';
|
||||
import { EcmProductVersionModel, ObjectDataTableAdapter } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
@ -72,7 +72,7 @@ export class AboutComponent implements OnInit {
|
||||
});
|
||||
|
||||
this.http.get('/versions.json').subscribe(response => {
|
||||
const regexp = new RegExp('^(ng2-alfresco|alfresco-)');
|
||||
const regexp = new RegExp('^(@alfresco|alfresco-)');
|
||||
|
||||
const alfrescoPackagesTableRepresentation = Object.keys(response.json().dependencies)
|
||||
.filter((val) => regexp.test(val))
|
||||
|
Loading…
x
Reference in New Issue
Block a user