From 0492a8d6a057b8a82f668bf466dd6c13b23b0128 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 7 Jan 2026 16:45:10 +0200 Subject: [PATCH] fix actor type not setting --- changelog.d/actor-type.fix | 1 + src/components/user_card/user_card.js | 6 ++++-- src/components/user_card/user_card.vue | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 changelog.d/actor-type.fix diff --git a/changelog.d/actor-type.fix b/changelog.d/actor-type.fix new file mode 100644 index 000000000..a2c873c1a --- /dev/null +++ b/changelog.d/actor-type.fix @@ -0,0 +1 @@ +fixed being unable to set actor type from profile page diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js index 7daee4b76..5e387d38b 100644 --- a/src/components/user_card/user_card.js +++ b/src/components/user_card/user_card.js @@ -122,6 +122,8 @@ export default { data () { const user = this.$store.getters.findUser(this.userId) + console.log('LOL', JSON.parse(JSON.stringify(user))) + return { followRequestInProgress: false, muteExpiryAmount: 0, @@ -466,8 +468,8 @@ export default { show_birthday: !!this.newShowBirthday, } - if (this.actorType) { - params.actor_type = this.actorType + if (this.newActorType) { + params.actor_type = this.newActorType } if (this.newAvatarFile !== null) { diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index d6edc021f..e3b1b0175 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -208,7 +208,7 @@ {{ $t('user_card.group') }}