diff --git a/src/components/shared/table/TractionTable.vue b/src/components/shared/table/TractionTable.vue index b73938430..3735a3d39 100644 --- a/src/components/shared/table/TractionTable.vue +++ b/src/components/shared/table/TractionTable.vue @@ -371,8 +371,8 @@ export default { return typeof field === 'object' && 'label' in field ? field.label : typeof field == 'string' - ? field - : '' + ? field + : '' }, /**Callback when a row is clicked */ onRowClicked(value) { diff --git a/src/store/printMyBarcode/actions.js b/src/store/printMyBarcode/actions.js index cfba54ebb..81f474aaa 100644 --- a/src/store/printMyBarcode/actions.js +++ b/src/store/printMyBarcode/actions.js @@ -40,11 +40,11 @@ const createPrintJob = async ( ? // if it was success just send a simple message 'Barcode(s) successfully printed' : // print my barcode does not return the errors in the correct format - // so we need to extract the errors and turn them into something meaningful - data?.errors?.length > 0 - ? data.errors.map((e) => e.source.pointer + ' ' + e.detail).join(', ') - : // otherwise we can just return the errors - errors + // so we need to extract the errors and turn them into something meaningful + data?.errors?.length > 0 + ? data.errors.map((e) => e.source.pointer + ' ' + e.detail).join(', ') + : // otherwise we can just return the errors + errors return { success, message } }