feat: start checks
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import Button from 'primevue/button';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import InstallButton from './InstallButton.vue';
|
||||
import LinkButton from './LinkButton.vue';
|
||||
import ModTitlecard from './ModTitlecard.vue';
|
||||
import { Package } from '../types';
|
||||
|
||||
@ -11,21 +10,13 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ModTitlecard :pkg="pkg" show-namespace show-categories />
|
||||
<InstallButton :pkg="pkg" />
|
||||
<Button
|
||||
rounded
|
||||
icon="pi pi-external-link"
|
||||
severity="info"
|
||||
aria-label="storepage"
|
||||
size="small"
|
||||
class="self-center ml-2"
|
||||
style="width: 2rem; height: 2rem"
|
||||
:disabled="!pkg?.rmt"
|
||||
v-on:click="open(pkg?.rmt?.package_url ?? '')"
|
||||
<ModTitlecard
|
||||
:pkg="pkg"
|
||||
show-namespace
|
||||
show-categories
|
||||
show-icon
|
||||
show-description
|
||||
/>
|
||||
<InstallButton :pkg="pkg" />
|
||||
<LinkButton :pkg="pkg" />
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
@import 'primeicons/primeicons.css';
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user