parent
06f0697438
commit
c4cd76eff0
2 changed files with 40 additions and 43 deletions
|
@ -13,9 +13,6 @@ import React from "react";
|
|||
|
||||
const useStyles = makeStyles(
|
||||
theme => ({
|
||||
clickableRow: {
|
||||
cursor: "pointer"
|
||||
},
|
||||
colName: {
|
||||
width: "auto"
|
||||
},
|
||||
|
@ -88,7 +85,7 @@ const TableLine: React.FC<TableLineProps> = ({
|
|||
const quantityToDisplay = isOrderLine ? quantityToFulfill : quantity;
|
||||
|
||||
return (
|
||||
<TableRow className={classes.clickableRow} hover key={line.id}>
|
||||
<TableRow key={line.id}>
|
||||
<TableCellAvatar
|
||||
className={classes.colName}
|
||||
thumbnail={maybe(() => line.orderLine.thumbnail.url)}
|
||||
|
|
|
@ -121001,7 +121001,7 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -121184,7 +121184,7 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -121367,7 +121367,7 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -122950,7 +122950,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -123182,7 +123182,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -123414,7 +123414,7 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -125096,7 +125096,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -125328,7 +125328,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -125560,7 +125560,7 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -127838,7 +127838,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -128070,7 +128070,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -128302,7 +128302,7 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -129984,7 +129984,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -130216,7 +130216,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -130448,7 +130448,7 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -132130,7 +132130,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -132362,7 +132362,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -132594,7 +132594,7 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -134268,7 +134268,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -134500,7 +134500,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -134732,7 +134732,7 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -136414,7 +136414,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -136646,7 +136646,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -136878,7 +136878,7 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -138560,7 +138560,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -138792,7 +138792,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -139024,7 +139024,7 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -140706,7 +140706,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -140938,7 +140938,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -141170,7 +141170,7 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -142852,7 +142852,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -143084,7 +143084,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -143316,7 +143316,7 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -144998,7 +144998,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -145230,7 +145230,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -145462,7 +145462,7 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -147144,7 +147144,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -147376,7 +147376,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
@ -147608,7 +147608,7 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
|||
class="MuiTableBody-root-id"
|
||||
>
|
||||
<tr
|
||||
class="MuiTableRow-root-id TableLine-clickableRow-id MuiTableRow-hover-id"
|
||||
class="MuiTableRow-root-id"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id TableCellAvatar-root-id TableLine-colName-id"
|
||||
|
|
Loading…
Reference in a new issue