@opexa/portal-components 0.1.45 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,11 +112,11 @@ export function WithdrawalRecordsTable(props) {
112
112
  }) }), _jsx(Table.Cell, { className: "!py-1 text-right", children: formatNumber(data.fee, {
113
113
  currency: localeInfo.currency.code,
114
114
  minDecimalPlaces: 2,
115
- }) }), _jsx(Table.Cell, { className: "!py-1", children: data?.bankName }), _jsxs(Table.Cell, { className: "!py-1", children: [_jsx("div", { className: "leading-tight", children: format(data.dateTimeCreated, 'MM/dd/yyyy', {
116
- in: tz(localeInfo.timezone),
117
- }) }), _jsx("div", { className: "text-text-tertiary-600 leading-tight", children: format(data.dateTimeCreated, 'hh:mm a', {
118
- in: tz(localeInfo.timezone),
119
- }) })] }), _jsx(Table.Cell, { className: "!py-1", children: _jsx(Badge.Root, { variant: "subtle", colorScheme: data.status === 'FAILED' ||
115
+ }) }), _jsx(Table.Cell, { className: "!py-1", children: data?.bankName }), _jsx(Table.Cell, { className: "!py-1", children: data.dateTimeCreated && (_jsxs(_Fragment, { children: [_jsx("div", { className: "leading-tight", children: format(data.dateTimeCreated, 'MM/dd/yyyy', {
116
+ in: tz(localeInfo.timezone),
117
+ }) }), _jsx("div", { className: "text-text-tertiary-600 leading-tight", children: format(data.dateTimeCreated, 'hh:mm a', {
118
+ in: tz(localeInfo.timezone),
119
+ }) })] })) }), _jsx(Table.Cell, { className: "!py-1", children: _jsx(Badge.Root, { variant: "subtle", colorScheme: data.status === 'FAILED' ||
120
120
  data.status === 'REJECTED' ||
121
121
  data.status === 'CANCELLED'
122
122
  ? 'danger'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",