Ghost/ghost/admin/app/templates/settings
Kevin Ansfield 84d3643e9f 🐛 Fixed error when removing Facebook/Twitter social images on general settings screen
refs https://github.com/TryGhost/Team/issues/836
refs ceb16b5e9f

Problem:
- `<GhImageUploaderWithPreview>` was updated to swap deprecated `{{action}}` usage to `{{on "click"}}` but that came with a missed behaviour change because the click event will now be passed as the argument to `@remove`
- the `<GhImageUploaderWithPreview>` usage on the general settings screen for social images had a syntax error in it's usage of the `mut` helper that meant the supplied argument was being used as the value rather than a forced `""` value. Result was that we were replacing the image urls with a text representation of the click event when attempting to remove images, leaving a broken image in place and no way to upload a new image

Fix:
- fixed incorrect `mut` usage to correctly force `""` as the value when removing social icons
- updated `<GhImageUploaderWithPreview>` to force `""` as the argument passed to `@remove` to avoid any other issues due to the behaviour change
2021-06-29 17:54:09 +01:00
..
theme 🎨 Added error message from limit service to theme upload 2021-05-26 19:05:19 +02:00
code-injection-loading.hbs Updated code injection styles 2021-02-10 11:54:27 +01:00
code-injection.hbs Updated code injection styles 2021-02-10 11:54:27 +01:00
design-loading.hbs Updated navigation (#1832) 2021-02-02 16:08:06 +00:00
general-loading.hbs Update portal settings UI 2021-02-10 11:08:09 +01:00
general.hbs 🐛 Fixed error when removing Facebook/Twitter social images on general settings screen 2021-06-29 17:54:09 +01:00
labs-loading.hbs Basic settings restructure 2021-02-02 16:08:03 +00:00
labs.hbs Added alpha labs flag for PSM redesign 2021-06-17 14:10:32 +01:00
members-email.hbs Updated newsletter design settings modal for new settings (#2013) 2021-06-21 13:40:54 +01:00
membership.hbs Added UI for portal products (#2010) 2021-06-21 14:21:48 +05:30
navigation.hbs CSS restructure for main sections 2021-02-10 18:48:27 +01:00
product.hbs Removed unused members-payments route 2021-05-21 08:57:28 +01:00
products.hbs Wired free membership settings to API (#1949) 2021-05-07 22:46:35 +05:30
theme.hbs 🎨 Added error message from limit service to theme upload 2021-05-26 19:05:19 +02:00