Another index I've wanted, and better error display for queries in the ssb app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4403 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -86,7 +86,10 @@ class TfTabQueryElement extends LitElement {
|
||||
}
|
||||
|
||||
render_error() {
|
||||
return html`<pre>${JSON.stringify(this.error, null, 2)}</pre>`;
|
||||
if (this.error) {
|
||||
return html`<h2 style="color: red">${this.error.message}</h2>
|
||||
<pre style="color: red">${this.error.stack}</pre>`;
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
|
Reference in New Issue
Block a user