v1.12.25 대시보드 숫자 표기 및 접속자 목록 간소화
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script setup>
|
||||
import { formatAnalyticsCount } from '~/lib/analytics-display.js'
|
||||
const props = defineProps({ memberId: { type: String, required: true } })
|
||||
const searchInput = ref('')
|
||||
const filters = ref({ q: '', type: 'all', page: 1 })
|
||||
@@ -41,7 +42,7 @@ const formatCreatedAt = (value) => new Intl.DateTimeFormat('ko-KR', {
|
||||
<template>
|
||||
<section class="admin-member-activity border border-line bg-white p-4" :aria-busy="status === 'pending'">
|
||||
<div class="admin-member-activity__toolbar flex flex-wrap items-center justify-between gap-3">
|
||||
<h2 class="admin-member-activity__heading text-sm font-semibold">작성한 글 <span class="text-xs font-normal text-muted">{{ data?.pagination.total || 0 }}개 · 최신순</span></h2>
|
||||
<h2 class="admin-member-activity__heading text-sm font-semibold">작성한 글 <span class="text-xs font-normal text-muted">{{ formatAnalyticsCount(data?.pagination.total) }}개 · 최신순</span></h2>
|
||||
<form class="admin-member-activity__search flex w-full flex-wrap items-center gap-2 sm:w-auto" role="search" @submit.prevent="applySearch">
|
||||
<select class="admin-member-activity__type h-10 rounded border border-line bg-white px-3 text-sm" aria-label="작성 종류" :value="filters.type" @change="changeType">
|
||||
<option value="all">전체</option>
|
||||
|
||||
Reference in New Issue
Block a user