Skip to content

Commit

Permalink
minor UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Herteby committed Dec 8, 2017
1 parent fa16476 commit d147848
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
.npm
package-lock.json
.npm
2 changes: 1 addition & 1 deletion lib/GraphicalGrapher.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'herteby:graphical-grapher',
version: '1.3.2',
version: '1.3.3',
summary: 'Graphical Grapher - Visualize your queries in the browser',
git: 'https://github.com/Herteby/graphical-grapher',
documentation: 'README.md'
Expand Down
5 changes: 3 additions & 2 deletions src/GraphicalGrapher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
<textarea readonly v-model="jsonQuery" :class="{query:1,badQuery}" @click="$event.target.select()"></textarea>
</div>
<div>
<h2>Result <span>{{result.data && result.data.length}} documents - {{result.timeElapsedMs}}ms</span></h2>
<div class="result">{{jsonResult}}</div>
<h2>Result <span v-if="result.data">{{result.data.length}} documents - {{result.timeElapsedMs}}ms</span></h2>
<div v-if="result.error" style="color:red">{{result.message}}</div>
<div v-else class="result">{{jsonResult}}</div>
</div>
</div>
<h1 v-else style="color:#888">Choose a collection</h1>
Expand Down

0 comments on commit d147848

Please sign in to comment.