diff --git a/dashboard/src/components/app/Cron.vue b/dashboard/src/components/app/Cron.vue new file mode 100644 index 000000000..8fbe9cd63 --- /dev/null +++ b/dashboard/src/components/app/Cron.vue @@ -0,0 +1,85 @@ + + + diff --git a/dashboard/src/views/AppConfigureView.vue b/dashboard/src/views/AppConfigureView.vue index e0473800a..fa5701ea0 100644 --- a/dashboard/src/views/AppConfigureView.vue +++ b/dashboard/src/views/AppConfigureView.vue @@ -6,9 +6,10 @@ import { useI18n } from 'vue-i18n'; const i18n = useI18n(); const t = i18n.t; -import { ref, onMounted, onUnmounted, useTemplateRef, computed } from 'vue'; +import { ref, onMounted, onBeforeUnmount, useTemplateRef, computed } from 'vue'; import { Button, ButtonGroup, TabView } from 'pankow'; import Info from '../components/app/Info.vue'; +import Cron from '../components/app/Cron.vue'; import Eventlog from '../components/app/Eventlog.vue'; import Updates from '../components/app/Updates.vue'; import Uninstall from '../components/app/Uninstall.vue'; @@ -135,7 +136,7 @@ onMounted(async () => { tabView.value.open(parts[1] || 'info'); }); -onUnmounted(() => { +onBeforeUnmount(() => { if (refreshTimer) clearTimeout(refreshTimer); }); @@ -179,7 +180,7 @@ onUnmounted(() => { - +