mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Fix imageAspectRatio set to null UpdatePost
- we were not setting the form.imageAspectRatio to the value of the post's imageAspectRatio, so when a user updated their post, but did not update their imageAspectRatio it would set it to null
This commit is contained in:
parent
a3dc43c0a6
commit
730da2029c
@ -169,6 +169,7 @@ export default {
|
||||
? languageOptions.find(o => this.contribution.language === o.value)
|
||||
: null
|
||||
form.categoryIds = this.categoryIds(this.contribution.categories)
|
||||
form.imageAspectRatio = this.contribution.imageAspectRatio
|
||||
form.blurImage = this.contribution.imageBlurred
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user