Skip to content

Commit

Permalink
Merge pull request #58 from velrest/login-municipality
Browse files Browse the repository at this point in the history
login municipality
  • Loading branch information
kaldras authored May 10, 2021
2 parents b279c6d + 480691e commit cd4d65e
Show file tree
Hide file tree
Showing 3 changed files with 397 additions and 398 deletions.
4 changes: 2 additions & 2 deletions addon/components/login-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { action } from "@ember/object";
import { inject as service } from "@ember/service";
import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import env from "ember-ebau-gwr/config/environment";
import municipalities from "ember-ebau-gwr/models/municipalities";

export default class LoginModalComponent extends Component {
@service authFetch;
Expand All @@ -13,7 +13,7 @@ export default class LoginModalComponent extends Component {
@tracked municipality;

get municipalities() {
return env.municipalities[this.config.cantonAbbreviation];
return municipalities[this.config.cantonAbbreviation];
}

@action
Expand Down
Loading

0 comments on commit cd4d65e

Please sign in to comment.