0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-13 21:42:53 +01:00

Merge branch 'main' into field_type_subscription_ui

Dieser Commit ist enthalten in:
Angus McLeod 2023-04-03 15:08:16 +10:00
Commit 3d65ad032d

Datei anzeigen

@ -1,6 +1,8 @@
import I18n from "I18n"; import I18n from "I18n";
import { getCachedWizard } from "../models/custom-wizard"; import { getCachedWizard } from "../models/custom-wizard";
import Route from "@ember/routing/route"; import Route from "@ember/routing/route";
import { scrollTop } from "discourse/mixins/scroll-top";
import { action } from "@ember/object";
export default Route.extend({ export default Route.extend({
beforeModel() { beforeModel() {
@ -48,4 +50,10 @@ export default Route.extend({
controller.setProperties(props); controller.setProperties(props);
}, },
@action
didTransition() {
scrollTop();
return true;
},
}); });