fix: show loading spinner while submitting prompt generation feedback
This commit is contained in:
@@ -73,9 +73,9 @@
|
||||
:icon="IconThumbsDown"
|
||||
outline
|
||||
@click="
|
||||
() => {
|
||||
async () => {
|
||||
if (lastTraceID) {
|
||||
submitFeedback('negative', lastTraceID)
|
||||
await submitFeedback('negative', lastTraceID)
|
||||
submittedFeedback = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,9 +73,9 @@
|
||||
:icon="IconThumbsDown"
|
||||
outline
|
||||
@click="
|
||||
() => {
|
||||
async () => {
|
||||
if (lastTraceID) {
|
||||
submitFeedback('negative', lastTraceID)
|
||||
await submitFeedback('negative', lastTraceID)
|
||||
submittedFeedback = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,9 +95,9 @@
|
||||
:icon="IconThumbsDown"
|
||||
outline
|
||||
@click="
|
||||
() => {
|
||||
async () => {
|
||||
if (lastTraceID) {
|
||||
submitFeedback('negative', lastTraceID)
|
||||
await submitFeedback('negative', lastTraceID)
|
||||
submittedFeedback = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,9 +72,9 @@
|
||||
:icon="IconThumbsDown"
|
||||
outline
|
||||
@click="
|
||||
() => {
|
||||
async () => {
|
||||
if (lastTraceID) {
|
||||
submitFeedback('negative', lastTraceID)
|
||||
await submitFeedback('negative', lastTraceID)
|
||||
submittedFeedback = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,9 +72,9 @@
|
||||
:icon="IconThumbsDown"
|
||||
outline
|
||||
@click="
|
||||
() => {
|
||||
async () => {
|
||||
if (lastTraceID) {
|
||||
submitFeedback('negative', lastTraceID)
|
||||
await submitFeedback('negative', lastTraceID)
|
||||
submittedFeedback = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user