Browse Source

Support show empty rows.

pull/226/head
cweijan 4 years ago
parent
commit
78a9d34349
  1. 2
      src/model/main/tableNode.ts

2
src/model/main/tableNode.ts

@ -22,7 +22,7 @@ export class TableNode extends Node implements CopyAble {
constructor(readonly meta: TableMeta, readonly parent: Node) {
super(`${meta.name}`)
this.table = meta.name
this.description = `${meta.comment || ''} ${(meta.rows && meta.rows != '0') ? `Rows ${meta.rows}` : ''}`
this.description = `${meta.comment || ''} ${(meta.rows!=null) ? `Rows ${meta.rows}` : ''}`
this.init(parent)
this.tooltip = this.getToolTipe(meta)
this.cacheSelf()

Loading…
Cancel
Save