|
@@ -2,10 +2,15 @@ BlazeComponent.extendComponent({
|
|
template: function() {
|
|
template: function() {
|
|
return 'archivesSidebar';
|
|
return 'archivesSidebar';
|
|
},
|
|
},
|
|
|
|
+
|
|
archivedCards: function() {
|
|
archivedCards: function() {
|
|
return Cards.find({archived: true});
|
|
return Cards.find({archived: true});
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ cardIsInArchivedList: function() {
|
|
|
|
+ return this.currentData().list().archived;
|
|
|
|
+ },
|
|
|
|
+
|
|
onRendered: function() {
|
|
onRendered: function() {
|
|
//XXX We should support dragging a card from the sidebar to the board
|
|
//XXX We should support dragging a card from the sidebar to the board
|
|
},
|
|
},
|