discourse/app/assets/javascripts/admin/routes/admin-customize-email-style.js.es6
Jarek Radosz 67d5ce8ed1
FIX: Sort out the route navigation in admin/email-style (#8837)
Previously it would go to the "html" page when refreshing on the "css" page, and would open an invalid empty-state page when trying to go to the "email style" tab when already on it.
2020-02-04 11:42:43 +01:00

8 lines
136 B
JavaScript

import Route from "@ember/routing/route";
export default Route.extend({
model() {
return this.store.find("email-style");
}
});