mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 05:26:00 +00:00
query designer - undo
This commit is contained in:
@@ -6,7 +6,7 @@ import InlineButton from '../widgets/InlineButton';
|
||||
import { findDesignerFilterType } from './designerTools';
|
||||
|
||||
function getTableDisplayName(column, tables) {
|
||||
const table = tables.find((x) => x.designerId == column.designerId);
|
||||
const table = (tables || []).find((x) => x.designerId == column.designerId);
|
||||
if (table) return table.alias || table.pureName;
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user