Fixed some bugs

master 0.0.28
Thorsten Muerell 6 years ago
parent 5bb64db2fe
commit 917d77fa84

1
.gitignore vendored

@ -3,3 +3,4 @@ node_modules
.vscode-test/
*.vsix
**/.DS_Store
npm-debug.log

Binary file not shown.

@ -2,7 +2,7 @@
"name": "frog",
"displayName": "Frog",
"description": "The Oracle SQL workbench for VSCode",
"version": "0.0.26",
"version": "0.0.28",
"publisher": "tmuerell",
"engines": {
"vscode": "^1.17.0"

@ -65,7 +65,7 @@ export class TextDocumentContentProvider implements vscode.TextDocumentContentPr
text += this._data['columnDefinitions'].map((x) => `<th>${x['name']}</th>`).join('')
text += '</tr>'
text += this._data['rows'].map((r) =>
'<tr>' + r['columns'].map((c) => '<td class="' + (c['value'] ? 'value-value' : 'value-null') + '">' + (c['value'] ? c['value'] : 'NULL') + '</td>').join('') + '</tr>'
'<tr>' + r['columns'].map((c) => '<td class="' + (c['value'] == null ? 'value-null' : 'value-value') + '">' + (c['value'] == null ? 'NULL' : c['value']) + '</td>').join('') + '</tr>'
).join('')
text += '</table></body>'
return text;

Loading…
Cancel
Save