Skip to content

Commit

Permalink
DEV: Update linting (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX authored Nov 29, 2023
1 parent cac9a76 commit e1aabe0
Show file tree
Hide file tree
Showing 5 changed files with 196 additions and 74 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
resource: "user.userPrivateMessages",

map() {
this.route("assigned", { path: "/assigned" }, function () {
this.route("assigned", function () {
this.route("index", { path: "/" });
});
},
Expand Down
6 changes: 5 additions & 1 deletion assets/javascripts/discourse/controllers/group-assigned.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ export default class GroupAssigned extends Controller {
})
.then((result) => {
if (this.router.currentRoute.params.filter !== "everyone") {
this.transitionToRoute("group.assigned.show", groupName, "everyone");
this.router.transitionTo(
"group.assigned.show",
groupName,
"everyone"
);
}
this.set("members", result.members);
})
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"author": "Discourse",
"license": "MIT",
"devDependencies": {
"@discourse/lint-configs": "^1.0.0",
"ember-template-lint": "^5.12.0",
"eslint": "^8.51.0",
"@discourse/lint-configs": "^1.2.0",
"ember-template-lint": "^5.13.0",
"eslint": "^8.54.0",
"prettier": "^2.8.8"
}
}
Loading

0 comments on commit e1aabe0

Please sign in to comment.