@markprompt/web
Advanced tools
Comparing version 0.2.2-beta13 to 0.2.2-beta14
@@ -190,3 +190,6 @@ import { LitElement, html, css, nothing } from 'lit'; | ||
if (typeof file.value !== 'string') return ''; | ||
console.log('File value', file.value); | ||
if (typeof file.value !== 'string') { | ||
return ''; | ||
} | ||
@@ -220,6 +223,3 @@ return unsafeHTML(file.value); | ||
></div> | ||
<prose-block | ||
class="response" | ||
style="border:4px solid blue; background:orange;" | ||
> | ||
<prose-block class="response" style="border:4px solid blue;"> | ||
${this.loading && !(this.answer.length > 0) | ||
@@ -232,3 +232,3 @@ ? html`<animated-caret></animated-caret>` | ||
: nothing} | ||
${this.answer.length > 0 | ||
${this.answer.length > 0 && this.references.length > 0 | ||
? html` | ||
@@ -235,0 +235,0 @@ <div class="references"> |
{ | ||
"name": "@markprompt/web", | ||
"version": "0.2.2-beta13", | ||
"version": "0.2.2-beta14", | ||
"description": "Prompt web component for Markprompt", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27047
105
0