mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +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
|
|
@ -156,13 +156,6 @@ Lists.attachSchema(
|
|||
type: String,
|
||||
defaultValue: 'list',
|
||||
},
|
||||
collapsed: {
|
||||
/**
|
||||
* is the list collapsed
|
||||
*/
|
||||
type: Boolean,
|
||||
defaultValue: false,
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
|
|
@ -293,10 +286,6 @@ Lists.helpers({
|
|||
return this.starred === true;
|
||||
},
|
||||
|
||||
isCollapsed() {
|
||||
return this.collapsed === true;
|
||||
},
|
||||
|
||||
absoluteUrl() {
|
||||
const card = ReactiveCache.getCard({ listId: this._id });
|
||||
return card && card.absoluteUrl();
|
||||
|
|
@ -317,9 +306,6 @@ Lists.mutations({
|
|||
star(enable = true) {
|
||||
return { $set: { starred: !!enable } };
|
||||
},
|
||||
collapse(enable = true) {
|
||||
return { $set: { collapsed: !!enable } };
|
||||
},
|
||||
|
||||
archive() {
|
||||
if (this.isTemplateList()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue