Add close reason to trades list

This commit is contained in:
Mads Sørensen 2021-01-28 17:07:24 +01:00
parent 2d9d14f9a9
commit 0e11b30039

View File

@ -114,7 +114,7 @@ export default class TradeList extends Vue {
openFields: Record<string, string | Function>[] = [{ key: 'actions' }];
// Added to table-fields for historic trades
closedFields: Record<string, string | Function>[] = [{ key: 'close_date', label: 'Close date' }];
closedFields: Record<string, string | Function>[] = [{ key: 'close_date', label: 'Close date' },{key: 'sell_reason', label: 'Close Reason'}];
tableFields: Record<string, string | Function>[] = [
{ key: 'trade_id', label: 'ID' },