diff --git a/compose.yaml b/compose.yaml
index 178f80c2d..5dd768eb5 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -1,5 +1,5 @@
---
-x-version: 0.5.0
+x-version: 0.5.1
services:
db:
@@ -66,7 +66,7 @@ services:
command: start
ember:
- image: ghcr.io/adfinis/mysagw/ember:0.2.2
+ image: ghcr.io/adfinis/mysagw/ember:0.2.3
minio:
image: minio/minio:RELEASE.2024-12-13T22-19-12Z
diff --git a/ember/app/ui/components/identity-addresses/template.hbs b/ember/app/ui/components/identity-addresses/template.hbs
index 67588ec16..30bdf0a3c 100644
--- a/ember/app/ui/components/identity-addresses/template.hbs
+++ b/ember/app/ui/components/identity-addresses/template.hbs
@@ -66,7 +66,7 @@
{{t "components.identity-addresses.list.empty"}}
{{/if}}
- {{#if (and (can "add address" @identity) (not @readOnlyView))}}
+ {{#if (can "add address" @identity)}}
{{/if}}
- {{#if (and (can "add additional-email" @identity) (not @readOnlyView))}}
+ {{#if (can "add additional-email" @identity)}}
@@ -135,8 +110,7 @@
disabled={{or
this.changeset.idpId
(cannot "edit identity" this.changeset.data)
- @readOnlyView
- @customEndpoint
+ @profileView
}}
value={{field.value}}
{{on "input" (fn this.eventTarget field.update)}}
@@ -164,11 +138,7 @@
@options={{this.languages}}
@optionLabelPath="label"
@optionTargetPath="value"
- @disabled={{or
- (cannot "edit identity" this.changeset.data)
- @readOnlyView
- @customEndpoint
- }}
+ @disabled={{this.disabledOnProfileView}}
/>
{{#if @profileView}}
@@ -178,15 +148,12 @@
@disabled={{cannot "edit identity" this.changeset.data}}
/>
- {{else if (not @readOnlyView @customEndpoint)}}
+ {{else}}
diff --git a/ember/app/ui/components/identity-interests/template.hbs b/ember/app/ui/components/identity-interests/template.hbs
index dea15061e..2d3e42b91 100644
--- a/ember/app/ui/components/identity-interests/template.hbs
+++ b/ember/app/ui/components/identity-interests/template.hbs
@@ -48,7 +48,7 @@
{{/each}}
- {{#if (and (can "add interest to identity" @identity) (not @readOnlyView))}}
+ {{#if (can "add interest to identity" @identity)}}
{{/if}}
- {{#if (and (can "add phone-number" @identity) (not @readOnlyView))}}
+ {{#if (can "add phone-number" @identity)}}
diff --git a/ember/package.json b/ember/package.json
index 518a549a9..024cdb27f 100644
--- a/ember/package.json
+++ b/ember/package.json
@@ -1,6 +1,6 @@
{
"name": "mysagw",
- "version": "0.2.2",
+ "version": "0.2.3",
"private": true,
"description": "Small description for mySAGW goes here",
"repository": "",