mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
DEV: Update admin-plugins-chat queryParams definition (#23868)
Controller queryParam configuration should be wrapped in an array. Omitting the array wrapper seems to work under Ember 3.28, but causes an error under Ember 5.
This commit is contained in:
@ -8,7 +8,11 @@ import { inject as service } from "@ember/service";
|
||||
|
||||
export default class AdminPluginsChatController extends Controller {
|
||||
@service dialog;
|
||||
queryParams = { selectedWebhookId: "id" };
|
||||
queryParams = [
|
||||
{
|
||||
selectedWebhookId: "id",
|
||||
},
|
||||
];
|
||||
|
||||
loading = false;
|
||||
creatingNew = false;
|
||||
|
Reference in New Issue
Block a user