Skip to content

Commit 28f357a

Browse files
committed
Only display Changelog if not patch
1 parent 2d45265 commit 28f357a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/FeedCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ angular.module('cardboard.controllers')
2020
// init cards
2121
return Promise.map(settings.sync.cards, function(card){
2222
// if cardboard installed or updated we show the changelog
23-
if(settings.update && card.name == 'changelog' && ($scope.route()=='/feed') )
23+
if(settings.update && settings.update != "patch" && card.name == 'changelog' && ($scope.route()=='/feed') )
2424
card.enabled = true;
2525

2626
// if the card has permission we check for them before

0 commit comments

Comments
 (0)