From ac0f5b01d85a3fe9dc4d974047717baa213513f7 Mon Sep 17 00:00:00 2001 From: Azizjon Nurov Date: Fri, 13 Dec 2024 15:58:52 +0500 Subject: [PATCH] Fix linter issues --- .../VersionHistoryViewExtendedInformation.js | 5 +++-- .../VersionHistoryViewVendorDetails.js | 8 ++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewExtendedInformation/VersionHistoryViewExtendedInformation.js b/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewExtendedInformation/VersionHistoryViewExtendedInformation.js index 1456b20c..d1d247f2 100644 --- a/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewExtendedInformation/VersionHistoryViewExtendedInformation.js +++ b/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewExtendedInformation/VersionHistoryViewExtendedInformation.js @@ -12,8 +12,9 @@ import { VersionCheckbox, } from '@folio/stripes-acq-components'; -export const VersionHistoryViewExtendedInformation = ({ version = {} }) => { - const { folioInvoiceNo, +export const VersionHistoryViewExtendedInformation = ({ version }) => { + const { + folioInvoiceNo, paymentMethod, currency, chkSubscriptionOverlap, diff --git a/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewVendorDetails/VersionHistoryViewVendorDetails.js b/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewVendorDetails/VersionHistoryViewVendorDetails.js index a0c2b1c2..f78c7cb1 100644 --- a/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewVendorDetails/VersionHistoryViewVendorDetails.js +++ b/src/invoices/VersionHistory/InvoiceVersionHistory/VersionHistoryView/VersionHistoryViewVendorDetails/VersionHistoryViewVendorDetails.js @@ -9,8 +9,12 @@ import { VersionKeyValue, } from '@folio/stripes-acq-components'; -export const VersionHistoryViewVendorDetails = ({ version = {} }) => { - const { vendor, vendorInvoiceNo, accountingCode } = version; +export const VersionHistoryViewVendorDetails = ({ version }) => { + const { + vendor, + vendorInvoiceNo, + accountingCode, + } = version; return (