Skip to content

Commit

Permalink
Update EditProfile.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 17, 2024
1 parent 5f11c24 commit 5198b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MyApp/wwwroot/pages/components/EditProfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
<div class="flex justify-between space-x-3">
<div></div>
<div>
<PrimaryButton>Save</PrimaryButton>
<PrimaryButton :disabled="!client.loading">Save</PrimaryButton>
</div>
</div>
</div>
Expand All @@ -31,6 +31,6 @@ export default {
if (el) el.src = user.value.profileUrl
}
}
return { user, submit }
return { user, submit, client }
}
}

0 comments on commit 5198b90

Please sign in to comment.