mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
1da2eec915
closes #9085 Fixes an issue, where the client sets image properties to `""` after deleting the image. This causes problems with the query filter (see https://github.com/TryGhost/GQL/issues/24), as they have to be `null`. Added a check in the model layer saving method to set value to `null`, when the property is empty. Affected models and properties: - `posts`: - `feature_image` - `og_image` - `twitter_image` - `users`: - `profile_image` - `cover_image` - `tags`: - `feature_image` |
||
---|---|---|
.. | ||
app | ||
config | ||
csv | ||
data | ||
export | ||
filter-param | ||
images | ||
import | ||
themes | ||
data-generator.js | ||
example.js | ||
test.hbs |