Skip to content

Commit

Permalink
decide on state properly
Browse files Browse the repository at this point in the history
  • Loading branch information
tlanfer committed Jul 10, 2024
1 parent 397dcfc commit a01e0c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
import {version, runUpdate} from '../lib/version.js';
let state = "ok";
let state = $version.isLatest ? "ok" : "old";
const initUpdate = async () => {
state = "updating";
const success = await runUpdate();
Expand Down

0 comments on commit a01e0c3

Please sign in to comment.