feat: more options
This commit is contained in:
@ -23,11 +23,12 @@ const toggle = async (value: boolean) => {
|
||||
<div class="flex items-center">
|
||||
<ModTitlecard showVersion :pkg="pkg" />
|
||||
<UpdateButton :pkg="pkg" />
|
||||
<!-- @vue-expect-error Can't 'as any' because it breaks VSCode -->
|
||||
<ToggleSwitch
|
||||
class="scale-[1.33] shrink-0"
|
||||
inputId="switch"
|
||||
:disabled="!pkg?.loc"
|
||||
:modelValue="prf.isPkgEnabled(pkg)"
|
||||
:model-value="prf.isPkgEnabled(pkg)"
|
||||
v-on:value-change="toggle"
|
||||
/>
|
||||
<InstallButton :pkg="pkg" />
|
||||
|
Reference in New Issue
Block a user