Skip to content

Commit

Permalink
Item fixes (#31)
Browse files Browse the repository at this point in the history
* fixed deepdiff detection

* vbump
  • Loading branch information
bentheiii authored Sep 13, 2022
1 parent 9c5bada commit f400871
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion back/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hekshermgmt"
version = "0.2.3"
version = "0.2.4"
description = "Heksher Management Tool (backend)"
authors = ["Dev Team <[email protected]>"]

Expand Down
7 changes: 2 additions & 5 deletions front/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
"prettier"
"plugin:react/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
Expand Down Expand Up @@ -46,11 +44,10 @@
"cypress/no-unnecessary-waiting": "error",
"cypress/assertion-before-screenshot": "warn",
"cypress/no-force": "warn",
"prettier/prettier": "warn"
"prettier/prettier": "off"
},
"plugins": [
"react",
"prettier",
"import",
"jsx-a11y",
"flowtype",
Expand Down
2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.3",
"version": "0.2.4",
"dependencies": {
"@lucarestagno/use-deep-effect": "^1.0.7",
"@mui/icons-material": "^5.0.1",
Expand Down
4 changes: 2 additions & 2 deletions front/src/settingType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ function BaseSequenceEdit(props: BaseSequenceEditProps) {

const handleEdit = (idx: number) => (v: any) => {
const newItems = items.slice();
newItems[idx][0] = v;
newItems[idx] = [v, newItems[idx][1], newItems[idx][2]];
setItems(newItems);
};

Expand Down Expand Up @@ -808,7 +808,7 @@ function BaseMappingEdit(props: BaseMappingEditProps) {

const handleEditValue = (idx: number) => (v: any) => {
const newEntryItems = entries.slice();
newEntryItems[idx][1][0] = v;
newEntryItems[idx] = [newEntryItems[idx][0][0], [v, newEntryItems[idx][1][1], newEntryItems[idx][1][2]]];
setEntries(newEntryItems);
};

Expand Down

0 comments on commit f400871

Please sign in to comment.