diff --git a/web/src/pages/Shelf.tsx b/web/src/pages/Shelf.tsx
index 69280cc..4f28fa7 100644
--- a/web/src/pages/Shelf.tsx
+++ b/web/src/pages/Shelf.tsx
@@ -60,6 +60,7 @@ function BookCard({
export default function Shelf() {
const qc = useQueryClient();
const nav = useNavigate();
+ const { isAdmin } = useAuth();
const [lib, setLib] = useState(0); // 0 = 全部库
const [qRaw, setQRaw] = useState("");
const [q, setQ] = useState("");
@@ -113,7 +114,7 @@ export default function Shelf() {
- {lib > 0 && (
+ {isAdmin && lib > 0 && (