Skip to content

Commit

Permalink
linter step
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetanbrl committed Aug 30, 2024
1 parent 209d1eb commit b621a17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion web/client/components/misc/AutocompleteCombobox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const addStateHandlers = compose(
withStateHandlers((props) => ({
delayDebounce: 0,
performFetch: false,
disabled: false,
open: false,
openOnFocus: props.openOnFocus,
disabled: props.disabled,
Expand Down
1 change: 0 additions & 1 deletion web/client/epics/featuregrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ import {dockPanelsSelector} from "../selectors/maplayout";
import {shutdownToolOnAnotherToolDrawing} from "../utils/ControlUtils";
import {mapTypeSelector} from "../selectors/maptype";
import { MapLibraries } from '../utils/MapTypeUtils';
import { userSelector } from '../selectors/security';

const setupDrawSupport = (state, original) => {
const defaultFeatureProj = getDefaultFeatureProjection();
Expand Down
8 changes: 4 additions & 4 deletions web/client/plugins/tocitemssettings/tabs/Fields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export default connect(createStructuredSelector({
const updateFields = (fields) => {
// insert fields value from selected user prop source
fields?.forEach?.((field) => {
if(field.source) {
field.value = get(userInfos,field.source) || find(userInfos.attribute, ["name", field.source])?.value
if (field.source) {
field.value = get(userInfos, field.source) || find(userInfos.attribute, ["name", field.source])?.value;
field.editable = false;
} else if(!field.source && field.value) {
} else if (!field.source && field.value) {
field.value = null;
field.editable = null;
}
})
});
// update state
updateLayerProperties(layer.id, {fields});
};
Expand Down

0 comments on commit b621a17

Please sign in to comment.