fix actor type not setting
This commit is contained in:
parent
1fe112c7f3
commit
0492a8d6a0
3 changed files with 6 additions and 3 deletions
1
changelog.d/actor-type.fix
Normal file
1
changelog.d/actor-type.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
fixed being unable to set actor type from profile page
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@
|
|||
</span>
|
||||
<span
|
||||
v-if="user.actor_type === 'Group'"
|
||||
class="alert user-role"
|
||||
class="alert neutral user-role"
|
||||
>
|
||||
{{ $t('user_card.group') }}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue