@gingkoo/pandora-metabase 0.0.25 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @gingkoo/pandora-metabase v0.0.25
2
+ * @gingkoo/pandora-metabase v0.0.27
3
3
  */
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import * as React from 'react';
@@ -4157,11 +4157,7 @@ const SelectFilterColumn = ({
4157
4157
  是空的: 'filter.isEmpty'
4158
4158
  }[condition]);
4159
4159
  if (curColumn.table2?.id) {
4160
- const {
4161
- datasourceName,
4162
- name
4163
- } = curColumn.table2;
4164
- quotes = curColumn.name + ' ' + cond + ' ' + datasourceName + '.' + name;
4160
+ quotes = curColumn.name + ' ' + cond + ' ' + curColumn.table2.name;
4165
4161
  } else {
4166
4162
  quotes = curColumn.name + ' ' + cond + ' ' + firstVal;
4167
4163
  }
@@ -4518,7 +4514,7 @@ const SelectFilterColumn = ({
4518
4514
  notSelected: !table2Selected
4519
4515
  }),
4520
4516
  onClick: selectTable,
4521
- children: table2Selected ? `${curColumn.table2?.datasourceName}.${curColumn.table2?.name}` : __('SqlQueryBuilder.pickTable')
4517
+ children: table2Selected ? `${curColumn.table2?.name}` : __('SqlQueryBuilder.pickTable')
4522
4518
  }) : jsx("div", {
4523
4519
  className: 'content_l',
4524
4520
  children: renderFilter(type, condition)