Skip to content

Commit

Permalink
Prettier runs
Browse files Browse the repository at this point in the history
  • Loading branch information
seenanair committed Dec 14, 2023
1 parent 8c39d5f commit 57a3781
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/shared/table/TractionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
10 changes: 5 additions & 5 deletions src/store/printMyBarcode/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
Expand Down

0 comments on commit 57a3781

Please sign in to comment.