mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-15 10:16:46 +08: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.
10 lines
270 B
JavaScript
10 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);
|
|
}
|
|
}
|