Skip to content

Commit

Permalink
fix: allow space avatar edition on testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Oct 9, 2024
1 parent b4166c3 commit 6fba792
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/SettingsProfileBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const avatarNotReactive = ref(form.value.avatar);
{{ $t('settings.avatar') }}
</LabelInput>
<InputUploadAvatar
:is-view-only="isViewOnly || env === 'demo'"
:is-view-only="isViewOnly"
class="h-[80px]"
@image-uploaded="url => (form.avatar = url)"
@image-remove="() => (form.avatar = '')"
Expand All @@ -44,11 +44,11 @@ const avatarNotReactive = ref(form.value.avatar);
<AvatarOverlayEdit
:loading="uploading"
:avatar="form?.avatar"
:is-view-only="isViewOnly || env === 'demo'"
:is-view-only="isViewOnly"
/>
<div
:class="{
'cursor-not-allowed': isViewOnly || env === 'demo'
'cursor-not-allowed': isViewOnly
}"
class="absolute bottom-[2px] right-0 rounded-full bg-skin-heading p-1"
>
Expand Down

0 comments on commit 6fba792

Please sign in to comment.