Skip to content

Commit

Permalink
remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethbruskiewicz committed May 21, 2024
1 parent daef208 commit 7a24c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ class DataHarmonizer {
fields = [];
template_unique_keys = [];

constructor(root, options = {}) {
constructor(root, context, options = {}) {
// table schema
this.schema = options.schema;
this.context = options.context; // TODO: promote to mandatory argument

// interface layout pass-ins
this.root = root;
Expand Down
3 changes: 1 addition & 2 deletions web/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,7 @@ export class AppContext {
});
dhTabNav.appendChild(dhTab); // Appending to the tab navigation

data_harmonizers[spec.name] = new DataHarmonizer(dhSubroot, {
context: context,
data_harmonizers[spec.name] = new DataHarmonizer(dhSubroot, context, {
loadingScreenRoot: document.body,
class_assignment: cls_key,
field_filters: findSlotNamesForClass(schema, cls_key), // TODO: Find slot names for filtering
Expand Down

0 comments on commit 7a24c0c

Please sign in to comment.