mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-14 02:10:04 +00:00
move filter to top
This commit is contained in:
@@ -201,12 +201,13 @@ var vm = new Vue({
|
||||
return acc
|
||||
}, {})
|
||||
},
|
||||
totalStats: function() {
|
||||
filteredTotalStats: function() {
|
||||
var filter = this.filterSelected
|
||||
if (filter != 'unread' && filter != 'starred') return ''
|
||||
|
||||
return Object.values(this.feedStats).reduce(function(acc, stat) {
|
||||
acc.unread += stat.unread
|
||||
acc.starred += stat.starred
|
||||
return acc
|
||||
}, {unread: 0, starred: 0})
|
||||
return acc + stat[filter]
|
||||
}, 0)
|
||||
},
|
||||
itemSelectedContent: function() {
|
||||
if (!this.itemSelected) return ''
|
||||
|
@@ -446,7 +446,8 @@ select.form-control:not([multiple]):not([size]) {
|
||||
/* theme: light */
|
||||
|
||||
a,
|
||||
.btn-link:hover {
|
||||
.btn-link:hover,
|
||||
.toolbar-item.active {
|
||||
color: #0080d4;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user