From 2bb6f91f9914aa092ed997d7b2611b6de3d9ef27 Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Wed, 15 May 2024 10:25:47 +0200 Subject: [PATCH] import using complete path --- src/components/EkPlan/Table/index.jsx | 36 +++++++++---------- .../EkPlan/Table/tpopRowFromTpop.js | 2 +- .../EkPlan/Table/yearRowFromTpop.js | 4 +-- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/components/EkPlan/Table/index.jsx b/src/components/EkPlan/Table/index.jsx index 31b6acb46..d2100a741 100644 --- a/src/components/EkPlan/Table/index.jsx +++ b/src/components/EkPlan/Table/index.jsx @@ -9,26 +9,26 @@ import Button from '@mui/material/Button' import { useResizeDetector } from 'react-resize-detector' import queryAll from './queryAll.js' -import CellForYearMenu from './CellForYearMenu' +import CellForYearMenu from './CellForYearMenu/index.jsx' import storeContext from '../../../storeContext.js' -import yearsFromTpops from './yearsFromTpops' -import tpopRowFromTpop from './tpopRowFromTpop' -import yearRowFromTpop from './yearRowFromTpop' -import fields from './fields' -import yearColumnWidth from './yearColumnWidth' -import CellHeaderFixed from './CellHeaderFixed' -import CellHeaderFixedEkfrequenz from './CellHeaderFixedEkfrequenz' -import CellHeaderFixedEkfrequenzStartjahr from './CellHeaderFixedEkfrequenzStartjahr' -import CellHeaderYear from './CellHeaderYear' -import CellForYearTitle from './CellForYearTitle' -import CellForEkfrequenz from './CellForEkfrequenz' -import CellForEkfrequenzStartjahr from './CellForEkfrequenzStartjahr' -import CellForEkfrequenzAbweichend from './CellForEkfrequenzAbweichend' -import CellForTpopLink from './CellForTpopLink' -import CellForValue from './CellForValue' -import CellForYear from './CellForYear' +import yearsFromTpops from './yearsFromTpops.js' +import tpopRowFromTpop from './tpopRowFromTpop.js' +import yearRowFromTpop from './yearRowFromTpop.js' +import fields from './fields.js' +import yearColumnWidth from './yearColumnWidth.js' +import CellHeaderFixed from './CellHeaderFixed/index.jsx' +import CellHeaderFixedEkfrequenz from './CellHeaderFixedEkfrequenz.jsx' +import CellHeaderFixedEkfrequenzStartjahr from './CellHeaderFixedEkfrequenzStartjahr.jsx' +import CellHeaderYear from './CellHeaderYear.jsx' +import CellForYearTitle from './CellForYearTitle.jsx' +import CellForEkfrequenz from './CellForEkfrequenz.jsx' +import CellForEkfrequenzStartjahr from './CellForEkfrequenzStartjahr.jsx' +import CellForEkfrequenzAbweichend from './CellForEkfrequenzAbweichend.jsx' +import CellForTpopLink from './CellForTpopLink.jsx' +import CellForValue from './CellForValue.jsx' +import CellForYear from './CellForYear/index.jsx' import Error from '../../shared/Error.jsx' -import exportRowFromTpop from './exportRowFromTpop' +import exportRowFromTpop from './exportRowFromTpop.js' import exportModule from '../../../modules/export.js' import ErrorBoundary from '../../shared/ErrorBoundary.jsx' import Spinner from '../../shared/Spinner.jsx' diff --git a/src/components/EkPlan/Table/tpopRowFromTpop.js b/src/components/EkPlan/Table/tpopRowFromTpop.js index 2ee27e98c..4daa10ca4 100644 --- a/src/components/EkPlan/Table/tpopRowFromTpop.js +++ b/src/components/EkPlan/Table/tpopRowFromTpop.js @@ -1,4 +1,4 @@ -import fields from './fields' +import fields from './fields.js' import appBaseUrl from '../../../modules/appBaseUrl.js' const isOdd = (num) => num % 2 === 0 diff --git a/src/components/EkPlan/Table/yearRowFromTpop.js b/src/components/EkPlan/Table/yearRowFromTpop.js index e9ce794d1..31666804b 100644 --- a/src/components/EkPlan/Table/yearRowFromTpop.js +++ b/src/components/EkPlan/Table/yearRowFromTpop.js @@ -1,5 +1,5 @@ -import yearColumnWidth from './yearColumnWidth' -import fields from './fields' +import yearColumnWidth from './yearColumnWidth.js' +import fields from './fields.js' const isOdd = (num) => num % 2 === 0