mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
471a3b8c0d
no issue On the membership screen we save settings before opening the portal settings modal but we weren't waiting for the save to finish which meant that the portal settings modal could load using stale data. - passed the save settings task in via the portal settings modal's model - added a `finishPreloading` action that contains all of the dynamic setup tasks that were previously in the component's `init` method - if a preload task was passed in and it's currently running (as it would be if the modal is opened via the membership screen button) then it will wait for the task to finish before running the setup tasks - trigger the `finishPreloading` action when the modal is rendered - show a loading spinner in place of the modal contents whilst pre-loading |
||
---|---|---|
.. | ||
admin |