Fix 'Show Updated Notifications' setting.

This commit is contained in:
ccd0 2015-08-09 15:16:01 -07:00
parent 67ba7c056f
commit 38cbbb96fe

View File

@ -95,6 +95,7 @@ Main =
$.extend items, items2 $.extend items, items2
$.set items2, -> $.set items2, ->
if items['Show Updated Notifications'] ? true
el = $.el 'span', el = $.el 'span',
<%= html(meta.name + ' has been updated to <a href="' + meta.repo + 'blob/' + meta.mainBranch + '/CHANGELOG.md" target="_blank">version ${g.VERSION}</a>.') %> <%= html(meta.name + ' has been updated to <a href="' + meta.repo + 'blob/' + meta.mainBranch + '/CHANGELOG.md" target="_blank">version ${g.VERSION}</a>.') %>
new Notice 'info', el, 15 new Notice 'info', el, 15