Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 12, 2023
1 parent 62da079 commit c1e4fbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/renderer/src/stories/JSONSchemaForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ export class JSONSchemaForm extends LitElement {

// Track resolved values for the form (data only)
updateData(localPath, value, forceUpdate = false) {

const path = [...localPath];
const name = path.pop();

Expand Down
1 change: 0 additions & 1 deletion src/renderer/src/stories/pages/guided-mode/data/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export function resolveProperties(properties = {}, target, globals = {}) {
const props = info.properties;

if (!(name in target)) {

if (target.__disabled?.[name]) continue; // Skip disabled properties

if (props) target[name] = {}; // Regisiter new interfaces in results
Expand Down

0 comments on commit c1e4fbe

Please sign in to comment.