[Refactor] Split SelectionToolbox buttons to components (#3902)

This commit is contained in:
Chenlei Hu
2025-05-15 11:20:51 -04:00
committed by GitHub
parent 985dab7e1c
commit 9a5b80a279
9 changed files with 149 additions and 73 deletions

View File

@@ -0,0 +1,17 @@
<template>
<Button
v-show="isRefreshable"
severity="info"
text
icon="pi pi-refresh"
@click="refreshSelected"
/>
</template>
<script setup lang="ts">
import Button from 'primevue/button'
import { useRefreshableSelection } from '@/composables/useRefreshableSelection'
const { isRefreshable, refreshSelected } = useRefreshableSelection()
</script>