diff --git a/dashboard/src/components/app/Eventlog.vue b/dashboard/src/components/app/Eventlog.vue index faf22e6da..804708f92 100644 --- a/dashboard/src/components/app/Eventlog.vue +++ b/dashboard/src/components/app/Eventlog.vue @@ -17,7 +17,7 @@ const busy = ref(true); const columns = ref({ time: { label: t('eventlog.time'), - width: '100px', + width: '120px', sort: false, }, source: { diff --git a/dashboard/src/views/AppConfigureView.vue b/dashboard/src/views/AppConfigureView.vue index ba8065ccf..8381536a1 100644 --- a/dashboard/src/views/AppConfigureView.vue +++ b/dashboard/src/views/AppConfigureView.vue @@ -6,7 +6,7 @@ import { useI18n } from 'vue-i18n'; const i18n = useI18n(); const t = i18n.t; -import { ref, onMounted, onBeforeUnmount, useTemplateRef, computed } from 'vue'; +import { ref, onMounted, onBeforeUnmount, computed } from 'vue'; import { Button, ButtonGroup } from 'pankow'; import Info from '../components/app/Info.vue'; import Security from '../components/app/Security.vue'; @@ -15,7 +15,7 @@ import Eventlog from '../components/app/Eventlog.vue'; import Updates from '../components/app/Updates.vue'; import Uninstall from '../components/app/Uninstall.vue'; import AppsModel from '../models/AppsModel.js'; -import { APP_TYPES } from '../constants.js'; +import { APP_TYPES, ISTATES, RSTATES, HSTATES } from '../constants.js'; const appsModel = AppsModel.create(); @@ -52,8 +52,7 @@ async function refresh() { app.value = result; - // app links have http already in the fqdn - link.value = result.fqdn.indexOf('http') !== 0 ? 'https://' + result.fqdn : result.fqdn; + link.value = (result.installationState !== ISTATES.INSTALLED || result.health !== HSTATES.HEALTHY || result.runState === RSTATES.STOPPED) ? '' : result.fqdn; hasLocalStorage.value = result.manifest && result.manifest.addons && result.manifest.addons.localstorage; // TODO info menu will likely not change during polling @@ -129,13 +128,13 @@ onBeforeUnmount(() => {
-
+

{{ app.label || app.fqdn }}

-
+
-
@@ -198,6 +197,15 @@ onBeforeUnmount(() => {