replace el-button

This commit is contained in:
pa
2026-01-12 18:34:10 +09:00
committed by Natsumi
parent 59700b90ab
commit 4749e8cb56
24 changed files with 329 additions and 264 deletions

View File

@@ -49,13 +49,16 @@
class="flex-[0.4]"
style="margin: 0 10px" />
<TooltipWrapper side="bottom" :content="t('view.notification.refresh_tooltip')">
<el-button
type="default"
:loading="isNotificationsLoading"
:icon="Refresh"
circle
<Button
class="rounded-full"
variant="outline"
size="icon-sm"
:disabled="isNotificationsLoading"
style="flex: none"
@click="refreshNotifications()" />
@click="refreshNotifications()">
<Spinner v-if="isNotificationsLoading" />
<Refresh v-else />
</Button>
</TooltipWrapper>
</div>
</template>
@@ -71,8 +74,10 @@
<script setup>
import { computed, ref, watch } from 'vue';
import { Button } from '@/components/ui/button';
import { ElMessageBox } from 'element-plus';
import { Refresh } from '@element-plus/icons-vue';
import { Spinner } from '@/components/ui/spinner';
import { storeToRefs } from 'pinia';
import { toast } from 'vue-sonner';
import { useI18n } from 'vue-i18n';