Skip to content

Commit

Permalink
fix(EntityTable): breaking changes adjustment from the library
Browse files Browse the repository at this point in the history
  • Loading branch information
alecarn committed Oct 10, 2023
1 parent cd33a3a commit 6340fb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/app/pages/portal/portal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ import {
Tool,
Widget,
EntityTablePaginatorOptions,
EntityRecord
EntityRecord,
EntityService
} from '@igo2/common';
import { AuthService } from '@igo2/auth';
import { DetailedContext } from '@igo2/context';
Expand Down Expand Up @@ -67,7 +68,6 @@ import {
WfsWorkspace,
FeatureWorkspace,
EditionWorkspace,
EditionWorkspaceService,
generateIdFromSourceOptions,
computeOlFeaturesExtent,
addStopToStore,
Expand Down Expand Up @@ -329,7 +329,7 @@ export class PortalComponent implements OnInit, OnDestroy {
public dialogWindow: MatDialog,
private queryService: QueryService,
private storageService: StorageService,
private editionWorkspaceService: EditionWorkspaceService,
private entityService: EntityService,
private directionState: DirectionState,
private configFileToGeoDBService: ConfigFileToGeoDBService
) {
Expand Down Expand Up @@ -700,7 +700,7 @@ export class PortalComponent implements OnInit, OnDestroy {
if (this.getFeatureIsSameActiveWks(feature)) {
if (
this.getWksActiveOpenInResolution() &&
!(this.workspace as WfsWorkspace).getLayerWksOptionMapQuery()
!(this.workspace as WfsWorkspace)?.getLayerWksOptionMapQuery()
) {
return;
}
Expand Down Expand Up @@ -1631,7 +1631,7 @@ export class PortalComponent implements OnInit, OnDestroy {
relationWorkspace?.meta.tableTemplate.columns.forEach((col) => {
// Update domain list
if (col.type === 'list' || col.type === 'autocomplete') {
this.editionWorkspaceService
this.entityService
.getDomainValues(col.relation)
.subscribe((result) => {
col.domainValues = result;
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h1 id="splash-screen-title"></h1>
}

#splash-screen__filmstrip img {
width: fit-content;
width: auto;
height: 95px;
}

Expand Down

0 comments on commit 6340fb4

Please sign in to comment.