Fixed some bugs
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,5 @@ out
|
||||
node_modules
|
||||
.vscode-test/
|
||||
*.vsix
|
||||
**/.DS_Store
|
||||
**/.DS_Store
|
||||
npm-debug.log
|
BIN
frog-runner.jar
BIN
frog-runner.jar
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;
|
||||
|
Reference in New Issue
Block a user