Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: simply to trigger a release
Browse files Browse the repository at this point in the history
I've messed up the latest release and needed some changes to
commit to trigger a release. So I went with fixing some linting
errors.
  • Loading branch information
derrabauke committed Jul 31, 2023
1 parent afb3063 commit 0bfa369
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/users/edit/credits/absence-credits/edit/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ export default Controller.extend({

this.notify.success("Absence credit was saved");

this.get("userController.data").perform(this.get("user.id"));
this.userController.data.perform(this.get("user.id"));

let allYears = this.get(
"userCreditsController.years.lastSuccessful.value"
);

if (!allYears) {
allYears = yield this.get("userCreditsController.years").perform();
allYears = yield this.userCreditsController.years.perform();
}

const year =
Expand All @@ -69,7 +69,7 @@ export default Controller.extend({

this.notify.success("Absence credit was deleted");

this.get("userController.data").perform(this.get("user.id"));
this.userController.data.perform(this.get("user.id"));

this.router.transitionTo("users.edit.credits");
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion app/users/edit/credits/index/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default Controller.extend(UsersEditCreditsQueryParams.Mixin, {

this.notify.success("Transfer was successful");

this.get("userController.data").perform(this.get("model.id"));
this.userController.data.perform(this.get("model.id"));

this.resetQueryParams("year");
} catch (e) {
Expand Down
6 changes: 3 additions & 3 deletions app/users/edit/credits/overtime-credits/edit/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ export default Controller.extend({

this.notify.success("Overtime credit was saved");

this.get("userController.data").perform(this.get("user.id"));
this.userController.data.perform(this.get("user.id"));

let allYears = this.get(
"userCreditsController.years.lastSuccessful.value"
);

if (!allYears) {
allYears = yield this.get("userCreditsController.years").perform();
allYears = yield this.userCreditsController.years.perform();
}

const year =
Expand All @@ -61,7 +61,7 @@ export default Controller.extend({

this.notify.success("Overtime credit was deleted");

this.get("userController.data").perform(this.get("user.id"));
this.userController.data.perform(this.get("user.id"));

this.router.transitionTo("users.edit.credits");
} catch (e) {
Expand Down

0 comments on commit 0bfa369

Please sign in to comment.