mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 00:33:54 +08:00
d96b8d1001
app/assets/javascripts/admin/addon/templates/emojis.hbs
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
import Controller from "@ember/controller";
|
|
import { service } from "@ember/service";
|
|
|
|
export default class AdminEmojisController extends Controller {
|
|
@service router;
|
|
|
|
get hideTabs() {
|
|
return ["adminEmojis.new"].includes(this.router.currentRouteName);
|
|
}
|
|
}
|