2020-05-12 14:24:33 -04:00
|
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
2022-01-06 06:16:23 -05:00
|
|
|
import { action } from "@ember/object";
|
2020-05-12 14:24:33 -04:00
|
|
|
|
2023-01-23 13:30:48 -05:00
|
|
|
export default class AdminPluginsChatIntegration extends DiscourseRoute {
|
2017-10-03 05:42:07 -04:00
|
|
|
model() {
|
2018-09-12 11:16:18 -04:00
|
|
|
return this.store.findAll("provider");
|
2023-01-23 13:30:48 -05:00
|
|
|
}
|
2017-07-03 10:53:26 -04:00
|
|
|
|
2022-01-06 06:16:23 -05:00
|
|
|
@action
|
|
|
|
showSettings() {
|
|
|
|
this.transitionTo("adminSiteSettingsCategory", "plugins", {
|
|
|
|
queryParams: { filter: "chat_integration" },
|
|
|
|
});
|
2023-01-23 13:30:48 -05:00
|
|
|
}
|
|
|
|
}
|