Skip to content

Commit

Permalink
1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adams549659584 committed Jan 5, 2021
1 parent 9287d0b commit b145491
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@

![Instructions.gif](https://s1.ax1x.com/2020/08/19/dQ8R3t.gif)

### v1.5.1

- 今日收益确认无需等待持仓数量为0的基金

### v1.5.0

- 退出当前插件时,停止查询
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "utools-fund",
"version": "v1.5.0",
"version": "v1.5.1",
"description": "自选基金助手",
"main": "main.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/features/fundMy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const fundDetailsToCbList = (dbList: DBItem<IFundEnt>[], searchWord = '') => {
} else {
cbList = [
{
title: `今日总收益 ${dbList.every(x => !x.data.isValuation) ? '✅' : ''}`,
title: `今日总收益 ${dbList.filter(x => x.data.holdCount > 0).every(x => !x.data.isValuation) ? '✅' : ''}`,
description: `¥${sumIncome.toFixed(2)}`,
icon: sumIncome >= 0 ? 'assets/img/up.png' : 'assets/img/down.png',
searchWord,
Expand Down

0 comments on commit b145491

Please sign in to comment.