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:
David Taylor 2023-10-10 11:06:03 +01:00 committed by GitHub
parent fdd5e577d6
commit c6aad63a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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;