mirror of https://github.com/jetkvm/kvm.git
Compare commits
3 Commits
f89bdc1e99
...
406186dbdd
| Author | SHA1 | Date |
|---|---|---|
|
|
406186dbdd | |
|
|
4090592112 | |
|
|
0baf6be8b5 |
|
|
@ -69,3 +69,23 @@ jobs:
|
|||
path: |
|
||||
bin/jetkvm_app
|
||||
device-tests.tar.gz
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
name: Release
|
||||
needs: build
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
- name: Draft release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
# need review before making a real release
|
||||
draft: true
|
||||
files: bin/jetkvm_app
|
||||
fail_on_unmatched_files: true
|
||||
tag_name: ${{ github.ref }}
|
||||
name: ${{ github.ref }}
|
||||
generate_release_notes: true
|
||||
|
|
@ -313,6 +313,8 @@ export default function SettingsAdvancedRoute() {
|
|||
text={m.advanced_reset_config_button()}
|
||||
onClick={() => {
|
||||
handleResetConfig();
|
||||
// Add 2s delay between resetting the configuration and calling reload() to prevent reload from interrupting the RPC call to reset things.
|
||||
await sleep(2000);
|
||||
window.location.reload();
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ export default function SettingsGeneralRebootRoute() {
|
|||
|
||||
const onClose = useCallback(() => {
|
||||
navigate(".."); // back to the devices.$id.settings page
|
||||
// Add 1s delay between navigation and calling reload() to prevent reload from interrupting the navigation.
|
||||
await sleep(1000);
|
||||
window.location.reload(); // force a full reload to ensure the current device/cloud UI version is loaded
|
||||
}, [navigate]);
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ export default function SettingsGeneralUpdateRoute() {
|
|||
|
||||
const onClose = useCallback(() => {
|
||||
navigate(".."); // back to the devices.$id.settings page
|
||||
// Add 1s delay between navigation and calling reload() to prevent reload from interrupting the navigation.
|
||||
await sleep(1000);
|
||||
window.location.reload(); // force a full reload to ensure the current device/cloud UI version is loaded
|
||||
}, [navigate]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue