Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function cachedProject(queryClient: QueryClient, id: string) {

export function seedQueueProjectPreviews(queryClient: QueryClient, ids: string[]) {
const wanted = new Set(ids)
const cachedQueues = queryClient.getQueriesData<Labrinth.Moderation.Internal.ProjectsResponse>({
queryKey: ['moderation-projects'],
const cachedQueues = queryClient.getQueriesData<Labrinth.Moderation.Internal.QueueResponse>({
queryKey: ['moderation-projects', 'page'],
})
for (const [, response] of cachedQueues) {
for (const project of response?.projects ?? []) {
Expand Down

This file was deleted.

294 changes: 0 additions & 294 deletions apps/frontend/src/components/ui/moderation/ModerateByIdsModal.vue

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { Meta, StoryObj } from '@storybook/vue3-vite'

import ModerationProjectIdsInput from '~/components/ui/moderation/ModerationProjectIdsInput.vue'

const meta = {
title: 'Website/Moderation/ModerationProjectIdsInput',
component: ModerationProjectIdsInput,
} satisfies Meta<typeof ModerationProjectIdsInput>

export default meta
type Story = StoryObj<typeof meta>

export const Default: Story = {}
Loading
Loading