Add limits for kanban boards (#234)
Prevent dropping a task onto a bucket which has its limit reached Fix closing the dropdown Add notice to show the limit Add input to change kanban bucket limit Add menu item to save bucket limit Fix parsing dates from the api Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/234
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import AbstractModel from './abstractModel'
|
||||
import UserModel from './user'
|
||||
import TaskModel from "./task";
|
||||
import TaskModel from './task'
|
||||
|
||||
export default class BucketModel extends AbstractModel {
|
||||
constructor(bucket) {
|
||||
@ -18,6 +18,7 @@ export default class BucketModel extends AbstractModel {
|
||||
id: 0,
|
||||
title: '',
|
||||
listId: 0,
|
||||
limit: 0,
|
||||
tasks: [],
|
||||
|
||||
createdBy: null,
|
||||
|
@ -75,7 +75,7 @@ export default class TaskModel extends AbstractModel {
|
||||
defaults() {
|
||||
return {
|
||||
id: 0,
|
||||
text: '',
|
||||
title: '',
|
||||
description: '',
|
||||
done: false,
|
||||
priority: 0,
|
||||
|
Reference in New Issue
Block a user