diff --git a/src/Squidex/app/features/content/shared/content-item.component.ts b/src/Squidex/app/features/content/shared/content-item.component.ts
index a2fb8aea0..794b20523 100644
--- a/src/Squidex/app/features/content/shared/content-item.component.ts
+++ b/src/Squidex/app/features/content/shared/content-item.component.ts
@@ -15,6 +15,7 @@ import {
ContentsService,
fadeAnimation,
FieldDto,
+ fieldInvariant,
ModalView,
SchemaDto,
Types,
@@ -122,10 +123,10 @@ export class ContentItemComponent implements OnInit, OnChanges {
if (field.properties['inlineEditable']) {
const value = this.form.controls[field.name].value;
- if (field.partitioning === 'invariant') {
- request[field.name] = { iv: value };
- } else {
+ if (field.isLocalizable) {
request[field.name] = { [this.language.iso2Code]: value };
+ } else {
+ request[field.name] = { iv: value };
}
}
}
@@ -176,10 +177,10 @@ export class ContentItemComponent implements OnInit, OnChanges {
const contentField = this.content.data[field.name];
if (contentField) {
- if (field.partitioning === 'language') {
+ if (field.isLocalizable) {
return contentField[this.language.iso2Code];
} else {
- return contentField['iv'];
+ return contentField[fieldInvariant];
}
}
diff --git a/src/Squidex/app/features/content/shared/references-editor.component.scss b/src/Squidex/app/features/content/shared/references-editor.component.scss
index c7bc71e73..ae939e2d1 100644
--- a/src/Squidex/app/features/content/shared/references-editor.component.scss
+++ b/src/Squidex/app/features/content/shared/references-editor.component.scss
@@ -53,7 +53,7 @@
.table {
& {
- margin-bottom: -.3rem;
+ margin-bottom: -.25rem;
margin-top: 1rem;
}
diff --git a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss
index 5300cbf67..6a898a0e2 100644
--- a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss
+++ b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss
@@ -136,7 +136,7 @@
&-left {
min-width: 2.8rem;
max-width: 2.8rem;
- margin-top: .3rem;
+ margin-top: .25rem;
}
&-created {
diff --git a/src/Squidex/app/features/schemas/pages/schema/field.component.html b/src/Squidex/app/features/schemas/pages/schema/field.component.html
index 23145e1b2..1ad2a35e3 100644
--- a/src/Squidex/app/features/schemas/pages/schema/field.component.html
+++ b/src/Squidex/app/features/schemas/pages/schema/field.component.html
@@ -6,7 +6,7 @@
{{displayName}}
- localizable
+ localizable