File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ export function App() {
166
166
} , [ runOut ] ) ;
167
167
168
168
const startPrompt = async ( ) => {
169
- client . desktopUI . toast . success ( `Starting Prompt: ${ promptInput . includes ( 'local' ) ? 'LOCAL' : promptInput } ` )
169
+ client . desktopUI . toast . success ( `Starting Prompt: ${ selectedPrompt ! . includes ( 'local' ) ? 'LOCAL' : selectedPrompt } ` )
170
170
171
171
await pullImagePromise
172
172
@@ -203,10 +203,10 @@ export function App() {
203
203
onError : ( err ) => {
204
204
console . error ( err ) ;
205
205
runOutput . updateOutput ( { method : 'message' , params : { debug : err } } ) ;
206
- client . desktopUI . toast . error ( `Error running prompt: ${ promptInput . includes ( 'local' ) ? 'LOCAL' : promptInput } ` )
206
+ client . desktopUI . toast . error ( `Error running prompt: ${ selectedPrompt ! . includes ( 'local' ) ? 'LOCAL' : selectedPrompt } ` )
207
207
} ,
208
208
onClose : ( ) => {
209
- client . desktopUI . toast . success ( `Prompt finished ${ promptInput . includes ( 'local' ) ? 'LOCAL' : promptInput } ` )
209
+ client . desktopUI . toast . success ( `Prompt finished ${ selectedPrompt ! . includes ( 'local' ) ? 'LOCAL' : selectedPrompt } ` )
210
210
}
211
211
}
212
212
} ) ;
You can’t perform that action at this time.
0 commit comments