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
336 B
JavaScript
14 lines
No EOL
336 B
JavaScript
import UserShareBaseModel from './userShareBase'
|
|
import merge from 'lodash/merge'
|
|
|
|
// This class extends the user share model with a 'rights' parameter which is used in sharing
|
|
export default class UserNamespaceModel extends UserShareBaseModel {
|
|
defaults() {
|
|
return merge(
|
|
super.defaults(),
|
|
{
|
|
namespaceId: 0,
|
|
},
|
|
)
|
|
}
|
|
} |