request one_button_prompt config on refresh

pull/348/head
Abdullah Alfaraj 2023-08-31 17:39:12 +03:00
parent 883c5627a7
commit 2d294aa593
2 changed files with 1 additions and 49816 deletions

49816
main/dist/all.bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@ -283,6 +283,7 @@ class OneButtonPrompt extends React.Component {
<ScriptInstallComponent
onRefreshHandler={async (event: any) => {
console.log(`Refresh ${store.data.script_name}`)
await requestConfig()
await this.initScript()
}}
></ScriptInstallComponent>