fix quote not reset if no options
This commit is contained in:
parent
3d9d6c4abd
commit
eea517dae1
@ -39,6 +39,7 @@ const reactionEffects: IReactionEffect[] = [
|
||||
})
|
||||
.then(quotes => {
|
||||
calculationStore.setOptions('selectQuote', quotes);
|
||||
if (quotes.length === 0) calculationStore.setValue('quote', null);
|
||||
})
|
||||
.catch(err => {
|
||||
throw err;
|
||||
|
||||
Reference in New Issue
Block a user