Skip to content

Commit

Permalink
DB Editor reads the correct table now
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Dec 25, 2023
1 parent b7044c0 commit 2080cb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ use_db("todo")
debugger
let codeId = await mm.getCurrentCommitId()
let baseComponentId = yz.helpers.getValueOfCodeString(mm.text,"base_component_id")
mm.data_rows = await sqlRx(codeId, baseComponentId, "select id,name from items")
mm.data_rows = await sqlRx(codeId, baseComponentId, "select * from " + tableName)
//mm.data_rows = sql("select id,name from items")
mm.pane_home_tabulator.setData(mm.data_rows)
}
Expand Down

0 comments on commit 2080cb5

Please sign in to comment.