diff --git a/Cargo.lock b/Cargo.lock index e840ed110..1da86669b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8877,6 +8877,7 @@ dependencies = [ "flate2", "fs4", "futures", + "heck 0.5.0", "hickory-resolver", "indicatif", "notify", diff --git a/Cargo.toml b/Cargo.toml index 10fba76e4..96477b8d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,6 +91,7 @@ rand = "=0.8.5" # Locked on 0.8 until argon2 and p256 update to 0.9 rand_chacha = "=0.3.1" # Locked on 0.3 until we can update rand to 0.9 redis = "=0.29.5" # Locked on 0.29 until deadpool-redis updates to 0.30 regex = "1.11.1" +heck = "0.5.0" reqwest = { version = "0.12.15", default-features = false } rust-s3 = { version = "0.35.1", default-features = false, features = [ "fail-on-err", diff --git a/apps/app-frontend/src/components/ui/AccountsCard.vue b/apps/app-frontend/src/components/ui/AccountsCard.vue index fe1defb0f..1451dcb71 100644 --- a/apps/app-frontend/src/components/ui/AccountsCard.vue +++ b/apps/app-frontend/src/components/ui/AccountsCard.vue @@ -10,12 +10,12 @@ size="36px" :src=" selectedAccount - ? `https://mc-heads.net/avatar/${selectedAccount.id}/128` + ? `https://mc-heads.net/avatar/${selectedAccount.profile.id}/128` : 'https://launcher-files.modrinth.com/assets/steve_head.png' " />
- {{ selectedAccount ? selectedAccount.username : 'Select account' }} + {{ selectedAccount ? selectedAccount.profile.name : 'Select account' }} Minecraft account
@@ -28,12 +28,17 @@ :class="{ expanded: mode === 'expanded', isolated: mode === 'isolated' }" >
- +
-

{{ selectedAccount.username }}

+

{{ selectedAccount.profile.name }}

Selected

-
@@ -44,12 +49,12 @@
-