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/ .vscode-test/
*.vsix *.vsix
**/.DS_Store **/.DS_Store
npm-debug.log

Binary file not shown.

@ -2,7 +2,7 @@
"name": "frog", "name": "frog",
"displayName": "Frog", "displayName": "Frog",
"description": "The Oracle SQL workbench for VSCode", "description": "The Oracle SQL workbench for VSCode",
"version": "0.0.26", "version": "0.0.28",
"publisher": "tmuerell", "publisher": "tmuerell",
"engines": { "engines": {
"vscode": "^1.17.0" "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 += this._data['columnDefinitions'].map((x) => `<th>${x['name']}</th>`).join('')
text += '</tr>' text += '</tr>'
text += this._data['rows'].map((r) => 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('') ).join('')
text += '</table></body>' text += '</table></body>'
return text; return text;

Loading…
Cancel
Save