mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Strategy-select proper emit
This commit is contained in:
parent
4d7fe771e8
commit
1cc8f910c2
|
@ -30,7 +30,7 @@ export default defineComponent({
|
|||
modelValue: { type: String, required: true },
|
||||
showDetails: { default: false, required: false, type: Boolean },
|
||||
},
|
||||
emits: ['input'],
|
||||
emits: ['update:modelValue'],
|
||||
setup(props, { emit }) {
|
||||
const botStore = useBotStore();
|
||||
|
||||
|
@ -41,7 +41,7 @@ export default defineComponent({
|
|||
},
|
||||
set(strategy: string) {
|
||||
botStore.activeBot.getStrategy(strategy);
|
||||
emit('input', strategy);
|
||||
emit('update:modelValue', strategy);
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user