Skip to content

Commit

Permalink
fix: update index for mailbox link
Browse files Browse the repository at this point in the history
  • Loading branch information
IITII committed Sep 18, 2023
1 parent 318c2cd commit aa1a3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ export default Vue.extend({
// case this.allOpenTypes[2].type:
return this.sites.filter(s => s.offline !== true)
.filter((site: Site) => (site.user?.messageCount || 0) > 0)
.map((site: Site) => this.defaultQuickLinks(site)[0] || site.activeURL)
.map((site: Site) => this.defaultQuickLinks(site)[1] || site.activeURL)
.map(s => s.href || s)
default:
throw new Error(`getAllUrlsByType: 未知的类型:${type}`)
Expand Down

0 comments on commit aa1a3aa

Please sign in to comment.