Skip to content

Commit d538a1e

Browse files
committed
fixes
1 parent 4051ea2 commit d538a1e

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

client/src/app/app-routing.module.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { HomeComponent } from './modules/home/pages/home.component';
55
import { ProjectListComponent } from './modules/projects/components/project-list/project-list.component';
66
import { ProjectsModule } from './modules/projects/projects.module';
77

8-
8+
export function getProjectModule() { return ProjectsModule };
99

1010
const indexRoute: Route = {
1111
path: '',
@@ -24,7 +24,7 @@ const routes: Routes = [
2424
{
2525
path: '',
2626
children: [
27-
indexRoute,
27+
indexRoute,
2828
{
2929
path: 'home',
3030
loadChildren: './modules/home/home.module#HomeModule'
@@ -35,7 +35,7 @@ const routes: Routes = [
3535
},
3636
{
3737
path: 'projects',
38-
loadChildren: () => ProjectsModule,
38+
loadChildren: getProjectModule,
3939
canActivate: [AuthGuard]
4040
},
4141
fallbackRoute

client/src/app/modules/information/components/role-set-list/role-set-list.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class RoleSetListComponent implements OnInit, OnDestroy {
7676
protected classService: ClassService,
7777
private roleService: RoleService,
7878
private propertyService: PropertyService,
79-
protected entityEditor: EntityEditorService,
79+
public entityEditor: EntityEditorService,
8080
protected roleSetListService: RoleSetListService,
8181
) { }
8282

client/src/app/modules/information/components/te-ent-role-set/te-ent-role-set.component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
</span>
77

88

9-
<span *ngIf="isOutgoing === true && entityEditor.devView">
9+
<span *ngIf="(isOutgoing$ | async) === true && entityEditor.devView">
1010
[dom: {{property.dfh_has_domain}} – prop: {{property.dfh_pk_property}} – range: {{property.dfh_has_range}}]
1111
</span>
1212

13-
<span *ngIf="isOutgoing === false && entityEditor.devView">
13+
<span *ngIf="(isOutgoing$ | async) === false && entityEditor.devView">
1414
[range: {{property.dfh_has_range}} – prop: {{property.dfh_pk_property}} – dom: {{property.dfh_has_domain}}]
1515
</span>
1616

client/src/app/modules/information/components/te-ent/te-ent.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class TeEntComponent extends RoleSetListComponent implements OnInit, Cont
134134
propertyService: PropertyService,
135135
private activeProjectService: ActiveProjectService,
136136
classService: ClassService,
137-
entityEditor: EntityEditorService,
137+
public entityEditor: EntityEditorService,
138138
private ngRedux: NgRedux<ITeEntState>,
139139
public actions: TeEntActions,
140140
protected roleSetListService: RoleSetListService,

client/src/app/modules/projects/projects-routing.module.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { ProjectSettingsDataComponent } from './components/project-settings-data
1111
import { ProxyRouteComponent } from 'app/shared/components/proxy-route';
1212
import { InformationModule } from '../information/information.module';
1313

14+
export function getInformationModule() { return InformationModule };
15+
1416

1517
const routes: Routes = [
1618
{
@@ -39,7 +41,7 @@ const routes: Routes = [
3941
children: [
4042
{
4143
path: '',
42-
loadChildren: () => InformationModule
44+
loadChildren: getInformationModule
4345
}
4446
]
4547
},

client/src/app/modules/timeline/components/timeline/timeline.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class TimelineComponent implements OnInit, AfterViewInit, DoCheck {
3737
@HostBinding('style.width') outerWidth: string = '100%';
3838

3939

40-
private _options: TimelineOptions = {
40+
_options: TimelineOptions = {
4141
width: 200,
4242
bodyMaxHeight: 180,
4343
headerHeight: 27,

0 commit comments

Comments
 (0)