vikunja-frontend/src/models/userNamespace.js
2020-04-17 12:19:53 +02:00

14 lines
No EOL
332 B
JavaScript

import UserShareBaseModel from "./userShareBase";
import {merge} from 'lodash'
// 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,
}
)
}
}