forked from vikunja/frontend
Add list duplicate Co-authored-by: kolaente <k@knt.li> Reviewed-on: vikunja/frontend#172
17 lines
304 B
JavaScript
17 lines
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,
|
|
}
|
|
}
|
|
} |