discourse/app/assets/javascripts/admin/addon/routes/admin-config-look-and-feel-themes.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
389 B
JavaScript
Raw Normal View History

import DiscourseRoute from "discourse/routes/discourse";
import { i18n } from "discourse-i18n";
export default class AdminConfigLookAndFeelThemesRoute extends DiscourseRoute {
async model() {
const themes = await this.store.findAll("theme");
return themes.reject((t) => t.component);
}
titleToken() {
return i18n("admin.config_areas.look_and_feel.themes.title");
}
}