Skip to content

Commit d23949d

Browse files
committed
refactor(client): fix some type errors
1 parent 6b30ef7 commit d23949d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: templates/app/client/app/account(auth)/settings/settings.controller.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use strict';
22

33
class SettingsController {
4-
constructor(Auth) {
5-
this.errors = {};
6-
this.submitted = false;
4+
errors = {};
5+
submitted = false;
76

7+
constructor(Auth) {
88
this.Auth = Auth;
99
}
1010

Diff for: templates/app/client/app/admin(auth)/admin.controller.js

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
(function() {
44

55
class AdminController {
6+
<%_ if(filters.ts || filters.flow) { _%>
7+
users: Object[];
8+
9+
<%_ } _%>
610
constructor(User) {
711
// Use the User $resource to fetch all users
812
this.users = User.query();

0 commit comments

Comments
 (0)