Skip to content

Commit

Permalink
feat: Disable control on auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
cma2819 committed Aug 10, 2024
1 parent 20c7b98 commit 591056e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/browser/dashboard/views/poke.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ const App = () => {
onChange={(e) => {
setPoke(Number(e.target.value));
}}
disabled={pokeControl?.enableScraping}
/>
<button
onClick={() => {
pokeRep.value = pokeState;
}}
disabled={pokeControl?.enableScraping}
>
更新
</button>
Expand Down

0 comments on commit 591056e

Please sign in to comment.