feat: less bad launches
This commit is contained in:
@ -4,6 +4,7 @@ import ToggleSwitch from 'primevue/toggleswitch';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import InstallButton from './InstallButton.vue';
|
||||
import ModTitlecard from './ModTitlecard.vue';
|
||||
import UpdateButton from './UpdateButton.vue';
|
||||
import { usePkgStore } from '../stores';
|
||||
import { Package } from '../types';
|
||||
|
||||
@ -21,6 +22,7 @@ const toggle = async (value: boolean) => {
|
||||
<template>
|
||||
<div class="flex items-center">
|
||||
<ModTitlecard showVersion :pkg="pkg" />
|
||||
<UpdateButton :pkg="pkg" />
|
||||
<ToggleSwitch
|
||||
class="scale-[1.33] shrink-0"
|
||||
inputId="switch"
|
||||
@ -28,7 +30,7 @@ const toggle = async (value: boolean) => {
|
||||
:modelValue="store.isEnabled(pkg)"
|
||||
v-on:value-change="toggle"
|
||||
/>
|
||||
<InstallButton />
|
||||
<InstallButton :pkg="pkg" />
|
||||
<Button
|
||||
rounded
|
||||
icon="pi pi-folder"
|
||||
|
Reference in New Issue
Block a user