0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed error when saving custom design modal

no issue

- `Promise.all()` requires a promise so it was erroring about uniterable symbols
This commit is contained in:
Kevin Ansfield 2021-09-30 14:53:21 +01:00
parent a83bd7a749
commit 223e5c71cf

View file

@ -15,10 +15,10 @@ export default class SettingsDesignCustomizeController extends Controller {
return;
}
yield Promise.all(
yield Promise.all([
this.settings.save(),
this.customThemeSettings.save()
);
]);
this.router.transitionTo('settings.design');