2af53b16b6
Only include needed parts from lodash Don't prefetch Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/288 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
14 lines
No EOL
225 B
JavaScript
14 lines
No EOL
225 B
JavaScript
import UserModel from './user'
|
|
import merge from 'lodash/merge'
|
|
|
|
export default class TeamMemberModel extends UserModel {
|
|
defaults() {
|
|
return merge(
|
|
super.defaults(),
|
|
{
|
|
admin: false,
|
|
teamId: 0,
|
|
},
|
|
)
|
|
}
|
|
} |