fix: broken list
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import Chip from 'primevue/chip';
|
||||
import { convertFileSrc } from '@tauri-apps/api/core';
|
||||
import { Package } from '../types';
|
||||
import { needsUpdate } from '../util';
|
||||
import { Feature, Package } from '../types';
|
||||
import { hasFeature, needsUpdate } from '../util';
|
||||
|
||||
const props = defineProps({
|
||||
pkg: Object as () => Package,
|
||||
@ -52,21 +52,19 @@ const iconSrc = () => {
|
||||
>
|
||||
</span>
|
||||
<span
|
||||
v-if="pkg?.loc?.kind === 'Hook'"
|
||||
v-if="hasFeature(pkg, Feature.Hook)"
|
||||
v-tooltip="'Hook'"
|
||||
class="pi pi-wrench ml-1 text-blue-400"
|
||||
>
|
||||
</span>
|
||||
<span
|
||||
v-if="pkg?.loc?.kind === 'GameIO'"
|
||||
v-if="hasFeature(pkg, Feature.GameIO)"
|
||||
v-tooltip="'IO'"
|
||||
class="pi pi-wrench ml-1 text-green-400"
|
||||
>
|
||||
</span>
|
||||
<span
|
||||
v-if="
|
||||
pkg?.loc?.kind === 'AMNet' || pkg?.loc?.kind === 'AimeOther'
|
||||
"
|
||||
v-if="hasFeature(pkg, Feature.Aime)"
|
||||
v-tooltip="'Aime'"
|
||||
class="pi pi-wrench ml-1 text-purple-400"
|
||||
>
|
||||
|
Reference in New Issue
Block a user