Skip to content

Commit a55a112

Browse files
committed
Update PowerSelect and ember-concurrency
The previous versions were pulling in the old `@glimmer/component` v1 package which caused build errors.
1 parent b287b6c commit a55a112

5 files changed

Lines changed: 10799 additions & 17684 deletions

File tree

app/controllers/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ export default class IndexController extends Controller {
3636
);
3737
}
3838

39-
@task(function* (term) {
40-
yield timeout(250);
39+
searchWerkingsgebied = task(async (term) => {
40+
await timeout(250);
4141
let queryParams = { 'filter[naam]': term };
4242
return this.store.query('werkingsgebied', queryParams);
43-
})
44-
searchWerkingsgebied;
43+
});
4544

4645
flushQueryParams(step) {
4746
this.bestuursorgaanId = '';

app/templates/application.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{page-title "Mandatendatabank Vlaanderen"}}
22

33
<AuModalContainer />
4+
<BasicDropdownWormhole />
45

56
<AuMainHeader @brandLink="https://mandaten.lokaalbestuur.vlaanderen.be/" @homeRoute="index" @appTitle="Mandatendatabank" @contactRoute="contact">
67
</AuMainHeader>

ember-cli-build.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
44

55
module.exports = function (defaults) {
66
const app = new EmberApp(defaults, {
7+
babel: {
8+
plugins: [
9+
// ... any other plugins
10+
require.resolve('ember-concurrency/async-arrow-task-transform'),
11+
12+
// NOTE: put any code coverage plugins last, after the transform.
13+
],
14+
},
715
'@embroider/macros': {
816
setConfig: {
917
'@appuniversum/ember-appuniversum': {

0 commit comments

Comments
 (0)