mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
card colors: remove unused variables
This commit is contained in:
parent
6e9bad5772
commit
5fa0821e07
2 changed files with 0 additions and 5 deletions
|
|
@ -27,7 +27,6 @@ BlazeComponent.extendComponent({
|
||||||
onCreated() {
|
onCreated() {
|
||||||
this.currentBoard = Boards.findOne(Session.get('currentBoard'));
|
this.currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||||
this.isLoaded = new ReactiveVar(false);
|
this.isLoaded = new ReactiveVar(false);
|
||||||
this.currentColor = new ReactiveVar(this.data().color);
|
|
||||||
const boardBody = this.parentComponent().parentComponent();
|
const boardBody = this.parentComponent().parentComponent();
|
||||||
//in Miniview parent is Board, not BoardBody.
|
//in Miniview parent is Board, not BoardBody.
|
||||||
if (boardBody !== null) {
|
if (boardBody !== null) {
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,6 @@
|
||||||
// });
|
// });
|
||||||
|
|
||||||
BlazeComponent.extendComponent({
|
BlazeComponent.extendComponent({
|
||||||
onCreated() {
|
|
||||||
this.currentColor = new ReactiveVar(this.data().color);
|
|
||||||
},
|
|
||||||
|
|
||||||
template() {
|
template() {
|
||||||
return 'minicard';
|
return 'minicard';
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue