mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Fix type error
This commit is contained in:
parent
5dfcaf1f47
commit
4200dd2feb
|
@ -35,7 +35,7 @@ export default class TradesLogChart extends Vue {
|
|||
@Getter getChartTheme!: string;
|
||||
|
||||
get chartData() {
|
||||
const res: number[][] = [];
|
||||
const res: (number | string)[][] = [];
|
||||
const sortedTrades = this.trades
|
||||
.slice(0)
|
||||
.sort((a, b) => (a.close_timestamp > b.close_timestamp ? 1 : -1));
|
||||
|
|
Loading…
Reference in New Issue
Block a user