diff --git a/ghost/admin/.lint-todo b/ghost/admin/.lint-todo index 7193228298..1a2b80167f 100644 --- a/ghost/admin/.lint-todo +++ b/ghost/admin/.lint-todo @@ -191,3 +191,4 @@ add|ember-template-lint|no-action|73|82|73|82|f30d469e4ae668f05aca2f92a124a6b474 remove|ember-template-lint|no-action|73|76|73|76|7d339c0f3d02ec863651697ad8e8105158d858f1|1730678400000|1741046400000|1746230400000|app/components/gh-post-settings-menu.hbs add|ember-template-lint|no-action|5|14|5|14|a90edd9a99596008f60bfcdbc6befe7fe8d26321|1730678400000|1741046400000|1746230400000|app/components/gh-psm-tags-input.hbs remove|ember-template-lint|no-action|5|14|5|14|88b11bf43be33d97824ebac071a563affac0b97d|1730678400000|1741046400000|1746230400000|app/components/gh-psm-tags-input.hbs +add|ember-template-lint|no-action|80|92|80|92|f30d469e4ae668f05aca2f92a124a6b4748847a3|1730678400000|1741046400000|1746230400000|app/components/gh-post-settings-menu.hbs diff --git a/ghost/admin/app/components/gh-post-settings-menu.hbs b/ghost/admin/app/components/gh-post-settings-menu.hbs index 325a9dd250..31650cb861 100644 --- a/ghost/admin/app/components/gh-post-settings-menu.hbs +++ b/ghost/admin/app/components/gh-post-settings-menu.hbs @@ -77,7 +77,7 @@ {{#if this.showVisibilityInput}} - + {{#if (eq this.post.visibility "tiers")}} diff --git a/ghost/admin/app/components/gh-psm-visibility-input.js b/ghost/admin/app/components/gh-psm-visibility-input.js index 554d2439d1..2a491d51c8 100644 --- a/ghost/admin/app/components/gh-psm-visibility-input.js +++ b/ghost/admin/app/components/gh-psm-visibility-input.js @@ -35,5 +35,8 @@ export default class GhPsmVisibilityInput extends Component { if (newVisibility !== 'tiers') { this.post.set('tiers', []); } + if (this.savePostOnChange) { + return this.savePostOnChange(); + } } }