aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/CalendarPage.js2
-rw-r--r--modern/src/settings/DevicePage.js2
-rw-r--r--modern/src/settings/DriverPage.js2
-rw-r--r--modern/src/settings/GeofencePage.js2
-rw-r--r--modern/src/settings/GroupPage.js2
-rw-r--r--modern/src/settings/MaintenancePage.js2
-rw-r--r--modern/src/settings/ServerPage.js2
-rw-r--r--modern/src/settings/UserPage.js2
-rw-r--r--modern/src/settings/components/AddAttributeDialog.js (renamed from modern/src/common/attributes/AddAttributeDialog.js)2
-rw-r--r--modern/src/settings/components/EditAttributesView.js (renamed from modern/src/common/attributes/EditAttributesView.js)6
10 files changed, 12 insertions, 12 deletions
diff --git a/modern/src/settings/CalendarPage.js b/modern/src/settings/CalendarPage.js
index bd3aa700..ec793196 100644
--- a/modern/src/settings/CalendarPage.js
+++ b/modern/src/settings/CalendarPage.js
@@ -6,7 +6,7 @@ import {
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import { DropzoneArea } from 'material-ui-dropzone';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import { useTranslation } from '../common/components/LocalizationProvider';
const useStyles = makeStyles(() => ({
diff --git a/modern/src/settings/DevicePage.js b/modern/src/settings/DevicePage.js
index 93b7f638..e40649a5 100644
--- a/modern/src/settings/DevicePage.js
+++ b/modern/src/settings/DevicePage.js
@@ -6,7 +6,7 @@ import {
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import SelectField from '../common/components/SelectField';
import deviceCategories from '../common/util/deviceCategories';
import LinkField from '../common/components/LinkField';
diff --git a/modern/src/settings/DriverPage.js b/modern/src/settings/DriverPage.js
index 06b290fc..dee11d37 100644
--- a/modern/src/settings/DriverPage.js
+++ b/modern/src/settings/DriverPage.js
@@ -5,7 +5,7 @@ import {
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import { useTranslation } from '../common/components/LocalizationProvider';
const useStyles = makeStyles(() => ({
diff --git a/modern/src/settings/GeofencePage.js b/modern/src/settings/GeofencePage.js
index 27259ed2..0fa986d2 100644
--- a/modern/src/settings/GeofencePage.js
+++ b/modern/src/settings/GeofencePage.js
@@ -6,7 +6,7 @@ import {
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import { useTranslation } from '../common/components/LocalizationProvider';
import useGeofenceAttributes from '../common/attributes/useGeofenceAttributes';
diff --git a/modern/src/settings/GroupPage.js b/modern/src/settings/GroupPage.js
index 2864a961..750d6ebc 100644
--- a/modern/src/settings/GroupPage.js
+++ b/modern/src/settings/GroupPage.js
@@ -6,7 +6,7 @@ import {
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import useDeviceAttributes from '../common/attributes/useDeviceAttributes';
import SelectField from '../common/components/SelectField';
import { useTranslation } from '../common/components/LocalizationProvider';
diff --git a/modern/src/settings/MaintenancePage.js b/modern/src/settings/MaintenancePage.js
index 3d32a0b4..b55ce35b 100644
--- a/modern/src/settings/MaintenancePage.js
+++ b/modern/src/settings/MaintenancePage.js
@@ -6,7 +6,7 @@ import InputAdornment from '@material-ui/core/InputAdornment';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import { prefixString } from '../common/util/stringUtils';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import { useAttributePreference } from '../common/util/preferences';
import {
speedFromKnots, speedToKnots, distanceFromMeters, distanceToMeters,
diff --git a/modern/src/settings/ServerPage.js b/modern/src/settings/ServerPage.js
index e7026bb4..f98bc691 100644
--- a/modern/src/settings/ServerPage.js
+++ b/modern/src/settings/ServerPage.js
@@ -8,7 +8,7 @@ import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import { useHistory } from 'react-router-dom';
import { useDispatch, useSelector } from 'react-redux';
import { sessionActions } from '../store';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import useDeviceAttributes from '../common/attributes/useDeviceAttributes';
import useUserAttributes from '../common/attributes/useUserAttributes';
import OptionsLayout from './components/OptionsLayout';
diff --git a/modern/src/settings/UserPage.js b/modern/src/settings/UserPage.js
index abb12edf..2b5adcca 100644
--- a/modern/src/settings/UserPage.js
+++ b/modern/src/settings/UserPage.js
@@ -7,7 +7,7 @@ import {
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import { useDispatch, useSelector } from 'react-redux';
import EditItemView from './components/EditItemView';
-import EditAttributesView from '../common/attributes/EditAttributesView';
+import EditAttributesView from './components/EditAttributesView';
import LinkField from '../common/components/LinkField';
import { useTranslation } from '../common/components/LocalizationProvider';
import useUserAttributes from '../common/attributes/useUserAttributes';
diff --git a/modern/src/common/attributes/AddAttributeDialog.js b/modern/src/settings/components/AddAttributeDialog.js
index 37b36c76..e7965360 100644
--- a/modern/src/common/attributes/AddAttributeDialog.js
+++ b/modern/src/settings/components/AddAttributeDialog.js
@@ -4,7 +4,7 @@ import {
} from '@material-ui/core';
import { Autocomplete, createFilterOptions } from '@material-ui/lab';
-import { useTranslation } from '../components/LocalizationProvider';
+import { useTranslation } from '../../common/components/LocalizationProvider';
const AddAttributeDialog = ({ open, onResult, definitions }) => {
const t = useTranslation();
diff --git a/modern/src/common/attributes/EditAttributesView.js b/modern/src/settings/components/EditAttributesView.js
index 4bc34b19..e28909e9 100644
--- a/modern/src/common/attributes/EditAttributesView.js
+++ b/modern/src/settings/components/EditAttributesView.js
@@ -6,11 +6,11 @@ import {
import CloseIcon from '@material-ui/icons/Close';
import AddIcon from '@material-ui/icons/Add';
import AddAttributeDialog from './AddAttributeDialog';
-import { useTranslation } from '../components/LocalizationProvider';
-import { useAttributePreference } from '../util/preferences';
+import { useTranslation } from '../../common/components/LocalizationProvider';
+import { useAttributePreference } from '../../common/util/preferences';
import {
distanceFromMeters, distanceToMeters, distanceUnitString, speedFromKnots, speedToKnots, speedUnitString, volumeFromLiters, volumeToLiters, volumeUnitString,
-} from '../util/converter';
+} from '../../common/util/converter';
const useStyles = makeStyles((theme) => ({
addButton: {