mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
feat: add queue management for admin panel
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
||||
import '@queuedash/ui/dist/styles.css';
|
||||
import './queue.css';
|
||||
|
||||
import { QueueDashApp } from '@queuedash/ui';
|
||||
|
||||
import { Header } from '../header';
|
||||
|
||||
export function QueuePage() {
|
||||
return (
|
||||
<div className="h-screen flex-1 flex-col flex overflow-hidden">
|
||||
<Header title="Queue" />
|
||||
<div className="flex-1 overflow-hidden">
|
||||
<QueueDashApp
|
||||
apiUrl={`${environment.subPath}/api/queue/trpc`}
|
||||
basename="/admin/queue"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export { QueuePage as Component };
|
||||
@@ -0,0 +1,5 @@
|
||||
/* Scoped queuedash modal alignment */
|
||||
|
||||
.react-aria-ModalOverlay section[role='dialog'] {
|
||||
transform: unset;
|
||||
}
|
||||
Reference in New Issue
Block a user