diff --git a/dashboard/src/components/AppArchive.vue b/dashboard/src/components/AppArchive.vue index cc137a848..bdb115490 100644 --- a/dashboard/src/components/AppArchive.vue +++ b/dashboard/src/components/AppArchive.vue @@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n'; const i18n = useI18n(); const t = i18n.t; -import { ref, onMounted, useTemplateRef } from 'vue'; +import { ref, onMounted, useTemplateRef, computed } from 'vue'; import { Button, ButtonGroup, InputGroup, FormGroup, TextInput, SingleSelect, TableView, InputDialog, Dialog } from 'pankow'; import { prettyLongDate } from 'pankow/utils'; import { API_ORIGIN, SECRET_PLACEHOLDER } from '../constants.js'; @@ -87,6 +87,10 @@ const restoreTcpPorts = ref({}); const restoreUdpPorts = ref({}); const domains = ref([]); const restoreSecondaryDomains = ref([]); +const restoreDomainProvider = computed(() => { + const tmp = domains.value.find((d) => d.domain === restoreDomain.value); + return tmp ? tmp.provider : ''; +}); async function onRestore(archive) { restoreBusy.value = false; @@ -276,9 +280,9 @@ onMounted(async () => { - + - + diff --git a/dashboard/src/components/AppInstallDialog.vue b/dashboard/src/components/AppInstallDialog.vue index 032db1fa2..905be9d55 100644 --- a/dashboard/src/components/AppInstallDialog.vue +++ b/dashboard/src/components/AppInstallDialog.vue @@ -221,7 +221,7 @@ defineExpose({ - + diff --git a/dashboard/src/components/PortBindings.vue b/dashboard/src/components/PortBindings.vue index eb5ef2299..1fa95675a 100644 --- a/dashboard/src/components/PortBindings.vue +++ b/dashboard/src/components/PortBindings.vue @@ -2,7 +2,7 @@ import { FormGroup, Checkbox, NumberInput } from 'pankow'; -defineProps([ 'error' ]); +defineProps([ 'error', 'domainProvider' ]); // all ports require a property called 'value' for the model to work const tcpPorts = defineModel('tcp'); @@ -18,7 +18,8 @@ const udpPorts = defineModel('udp'); {{ $t('appstore.installDialog.portReadOnly') }} Port already taken {{ port }} - +
{{ $t('appstore.installDialog.cloudflarePortWarning') }}
+
{{ $t('appstore.installDialog.cloudflarePortWarning') }}
diff --git a/dashboard/src/components/app/Backups.vue b/dashboard/src/components/app/Backups.vue index fb142d870..78b379559 100644 --- a/dashboard/src/components/app/Backups.vue +++ b/dashboard/src/components/app/Backups.vue @@ -163,6 +163,10 @@ function onImport() { // TODO } +function onClone(backup) { + // TODO +} + async function refresh() { const [error, result] = await appsModel.backups(props.app.id); if (error) return console.error(error); diff --git a/dashboard/src/components/app/Location.vue b/dashboard/src/components/app/Location.vue index 304554db2..c475ea697 100644 --- a/dashboard/src/components/app/Location.vue +++ b/dashboard/src/components/app/Location.vue @@ -1,6 +1,6 @@