mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
e3db911108
closes https://github.com/TryGhost/Team/issues/1885 - adds limit check for members to the `PublishOptions` class when it's constructed to set a `publishDisabledError` property if the limit check fails - if `publishOptions.publishDisabledCheck` is present, all publish options in the publish flow are disabled, the underlying error message is shown, and the continue button is removed to prevent filling in everything only to find at the end of the process that publishing fails - added handling for a `HostLimitError` error from the API when confirming publishing so the proper underlying message is displayed instead of the confusing "Host limit error, cannot edit post" error - this is a backup measure for any instances where you're under the max members limit when starting the publish flow but are over the limit when you reach the end of the publish flow |
||
---|---|---|
.. | ||
lexical-test.js | ||
publish-flow-test.js |