mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
We used to have a User API admin page, which is just a page with the site settings. This PR moves that into a Settings tab under API keys.
11 lines
270 B
JavaScript
11 lines
270 B
JavaScript
import Controller from "@ember/controller";
|
|
import { service } from "@ember/service";
|
|
|
|
export default class AdminApiKeysController extends Controller {
|
|
@service router;
|
|
|
|
get hideTabs() {
|
|
return ["adminApiKeys.show"].includes(this.router.currentRouteName);
|
|
}
|
|
}
|