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

Commit 8e90ce6

Browse files
author
Akanksh Saxena
authored
Merge pull request #621 from aziiee/fix-accoutant-flag
fix: accoutant flag belongs to user model
2 parents 77baeaa + 0d10c1d commit 8e90ce6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/models/employment.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,5 @@ export default Model.extend({
6969
* @property {Location} location
7070
* @public
7171
*/
72-
location: belongsTo("location"),
73-
74-
/**
75-
* Whether the employment is of an accountant.
76-
*/
77-
isAccountant: attr("boolean", { defaultValue: false })
72+
location: belongsTo("location")
7873
});

app/models/user.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ export default Model.extend({
7373
*/
7474
isReviewer: attr("boolean"),
7575

76+
/**
77+
* Whether the user is an accountant
78+
*/
79+
isAccountant: attr("boolean"),
80+
7681
/**
7782
* Whether the user completed the app tour
7883
*

0 commit comments

Comments
 (0)