ui: add search placeholder

This commit is contained in:
nkanaev
2026-07-11 14:22:44 +01:00
parent 1841933ded
commit 29f6083e0e
5 changed files with 28 additions and 1 deletions

View File

@@ -153,6 +153,19 @@ export default {
return {type: type, feed: feed, folder: folder}
},
searchScope: function() {
void this.language
var type = (this.feedSelected || '').split(':', 2)[0]
if (type == 'feed')
return (this.feedsById[this.feedSelected.split(':', 2)[1]] || {}).title || ''
if (type == 'folder')
return (this.foldersById[this.feedSelected.split(':', 2)[1]] || {}).title || ''
if (this.filterSelected == 'unread')
return this.$t('all_unread')
if (this.filterSelected == 'starred')
return this.$t('all_starred')
return this.$t('all_feeds')
},
itemSelectedContent: function() {
if (!this.itemSelected) return ''