mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 10:12:11 +00:00
[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user