diff --git a/dashboard/src/components/app/Uninstall.vue b/dashboard/src/components/app/Uninstall.vue new file mode 100644 index 000000000..5c34b77e4 --- /dev/null +++ b/dashboard/src/components/app/Uninstall.vue @@ -0,0 +1,72 @@ + + + diff --git a/dashboard/src/views/AppConfigureView.vue b/dashboard/src/views/AppConfigureView.vue index 26f220330..984fe4b78 100644 --- a/dashboard/src/views/AppConfigureView.vue +++ b/dashboard/src/views/AppConfigureView.vue @@ -9,6 +9,7 @@ const t = i18n.t; import { ref, onMounted, useTemplateRef } from 'vue'; import { Button, ButtonGroup, TabView } from 'pankow'; import Info from '../components/app/Info.vue'; +import Uninstall from '../components/app/Uninstall.vue'; import AppsModel from '../models/AppsModel.js'; import { APP_TYPES } from '../constants.js'; @@ -40,6 +41,10 @@ const link = ref(''); const infoMenu = ref([]); const hasLocalStorage = ref(false); +function onTabChanged(tab) { + window.location.hash = `/app/${id.value}/${tab}`; +} + async function refresh() { const [error, result] = await appsModel.get(id.value); if (error) return console.error(error); @@ -137,7 +142,7 @@ onMounted(async () => { - + @@ -154,7 +159,7 @@ onMounted(async () => { - +