GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — perf(chat): stop the resource picker fetching schedules it no longer … · simstudioai/sim@1d4f4a0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown
    • add-resource-dropdown.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/add-resource-dropdown.tsx‎

Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/add-resource-dropdown.tsx
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import { useFolders } from '@/hooks/queries/folders'
4242
import { useKnowledgeBasesQuery } from '@/hooks/queries/kb/knowledge'
4343
import { useLogsList } from '@/hooks/queries/logs'
4444
import { useMothershipChats } from '@/hooks/queries/mothership-chats'
45-
import { useWorkspaceSchedules } from '@/hooks/queries/schedules'
4645
import { useTablesList } from '@/hooks/queries/tables'
4746
import { useWorkflows } from '@/hooks/queries/workflows'
4847
import { useWorkspaceFileFolders } from '@/hooks/queries/workspace-file-folders'
@@ -172,9 +171,6 @@ export function useAvailableResources(
172171
{ enabled }
173172
)
174173
const { data: tasks, isPending: tasksPending } = useMothershipChats(workspaceId, { enabled })
175-
const { data: schedules, isPending: schedulesPending } = useWorkspaceSchedules(workspaceId, {
176-
enabled,
177-
})
178174
const { data: logsData, isPending: logsPending } = useLogsList(
179175
workspaceId,
180176
LOG_DROPDOWN_FILTERS,
@@ -201,7 +197,6 @@ export function useAvailableResources(
201197
foldersPending ||
202198
fileFoldersPending ||
203199
tasksPending ||
204-
schedulesPending ||
205200
logsPending)
206201

207202
const groups = useMemo(() => {
@@ -312,7 +307,6 @@ export function useAvailableResources(
312307
files,
313308
knowledgeBases,
314309
tasks,
315-
schedules,
316310
logs,
317311
excludeTypes,
318312
])

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.