1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 17:36:38 +02:00

Fix empty error alerts. We might want to bring back the old order for alerts.show (children after attrs)

This commit is contained in:
Alexander Skvortsov
2020-08-10 18:18:03 -04:00
committed by Franz Liedke
parent a48cc19814
commit ddc1141106

View File

@@ -404,7 +404,7 @@ export default class Application {
console.groupEnd(); console.groupEnd();
} }
this.requestErrorAlert = this.alerts.show(error.alert); this.requestErrorAlert = this.alerts.show(error.alert.content, error.alert);
} }
return Promise.reject(error); return Promise.reject(error);