Skip to content

Commit

Permalink
fix(effort): fix role auto-fill in effort form
Browse files Browse the repository at this point in the history
  • Loading branch information
pablolmedorado committed Apr 5, 2022
1 parent dcae903 commit f850815
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
});
const defaultItem = computed(() => ({
...modelClass.getDefaults(),
role: mainStore.loggedUserRole,
role: loggedUserRole.value,
user_story: props.userStory.id,
}));
Expand Down Expand Up @@ -165,7 +165,6 @@ export default {
// Computed
effortRolesMap,
systemFilters,
loggedUserRole,
defaultItem,
// Methods
canPerformAction,
Expand Down

0 comments on commit f850815

Please sign in to comment.