mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Collapse Lists to be per user, not per board. In Progress.
Related #5388 Thanks to xet7 !
This commit is contained in:
parent
e73a44d15b
commit
902f86d363
7 changed files with 74 additions and 44 deletions
|
|
@ -107,13 +107,6 @@ Swimlanes.attachSchema(
|
|||
type: String,
|
||||
defaultValue: 'swimlane',
|
||||
},
|
||||
collapsed: {
|
||||
/**
|
||||
* is the swimlane collapsed
|
||||
*/
|
||||
type: Boolean,
|
||||
defaultValue: false,
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
@ -239,10 +232,6 @@ Swimlanes.helpers({
|
|||
return ret;
|
||||
},
|
||||
|
||||
isCollapsed() {
|
||||
return this.collapsed === true;
|
||||
},
|
||||
|
||||
board() {
|
||||
return ReactiveCache.getBoard(this.boardId);
|
||||
},
|
||||
|
|
@ -285,10 +274,6 @@ Swimlanes.mutations({
|
|||
return { $set: { title } };
|
||||
},
|
||||
|
||||
collapse(enable = true) {
|
||||
return { $set: { collapsed: !!enable } };
|
||||
},
|
||||
|
||||
archive() {
|
||||
if (this.isTemplateSwimlane()) {
|
||||
this.myLists().forEach(list => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue