a9e8a3969b
Add list duplicate Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/172
17 lines
No EOL
304 B
JavaScript
17 lines
No EOL
304 B
JavaScript
import AbstractModel from './abstractModel'
|
|
import ListModel from './list'
|
|
|
|
export default class ListDuplicateModel extends AbstractModel {
|
|
constructor(data) {
|
|
super(data)
|
|
this.list = new ListModel(this.list)
|
|
}
|
|
|
|
defaults() {
|
|
return {
|
|
listId: 0,
|
|
namespaceId: 0,
|
|
list: ListModel,
|
|
}
|
|
}
|
|
} |