diff --git a/frontend/src/app/features/content/pages/contents/contents-page.component.ts b/frontend/src/app/features/content/pages/contents/contents-page.component.ts index f9ead03bad..fb6997a512 100644 --- a/frontend/src/app/features/content/pages/contents/contents-page.component.ts +++ b/frontend/src/app/features/content/pages/contents/contents-page.component.ts @@ -108,7 +108,7 @@ export class ContentsPageComponent extends ResourceOwner implements OnInit { this.own( combineLatest([schema$, tableName$]) .subscribe(([schema, fieldNames]) => { - if (!this.schema) { + if (this.schema?.id !== schema.id) { this.resetSelection(); this.schema = schema; diff --git a/frontend/src/app/features/content/pages/contents/custom-view-editor.component.html b/frontend/src/app/features/content/pages/contents/custom-view-editor.component.html index 54940f4f4e..fbb75b9c0c 100644 --- a/frontend/src/app/features/content/pages/contents/custom-view-editor.component.html +++ b/frontend/src/app/features/content/pages/contents/custom-view-editor.component.html @@ -17,7 +17,12 @@
@@ -33,7 +38,12 @@