Improve typescript support

This commit is contained in:
Matthias 2023-12-26 14:49:45 +01:00
parent 0cd9de508b
commit 35a7e04422

View File

@ -195,7 +195,7 @@ export function createBotSubStore(botId: string, botName: string) {
updateBot(updatedBotInfo: Partial<BotDescriptor>) {
userService.updateBot(updatedBotInfo);
},
setAutoRefresh(newRefreshValue) {
setAutoRefresh(newRefreshValue: boolean) {
this.autoRefresh = newRefreshValue;
// TODO: Investigate this -
// this ONLY works if ReloadControl is only visible once,otherwise it triggers twice