[Electron] Allow force install on not supported device page (#1812)

* [Electron] Allow force install on not supported device page

* Update locales [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-12-05 09:06:51 -08:00
committed by GitHub
parent 540e785424
commit 55c04b5533
5 changed files with 23 additions and 1 deletions

View File

@@ -32,7 +32,15 @@
:label="$t('notSupported.reportIssue')"
icon="pi pi-flag"
@click="reportIssue"
severity="secondary"
/>
<Button
:label="$t('notSupported.continue')"
icon="pi pi-arrow-right"
iconPos="right"
@click="continueToInstall"
severity="danger"
v-tooltip="$t('notSupported.continueTooltip')"
/>
</div>
</div>
@@ -51,6 +59,7 @@
<script setup lang="ts">
import Button from 'primevue/button'
import { useRouter } from 'vue-router'
const openDocs = () => {
window.open(
@@ -62,4 +71,9 @@ const openDocs = () => {
const reportIssue = () => {
window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')
}
const router = useRouter()
const continueToInstall = () => {
router.push('/install')
}
</script>