mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #21014] [CLOSED] perf: eliminate duplicate requests on Prompts page load #129545
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21014
Author: @Classic298
Created: 1/28/2026
Status: ❌ Closed
Base:
dev← Head:dupe-request📝 Commits (1)
54234b2perf: eliminate duplicate requests on Prompts page load📊 Changes
1 file changed (+13 additions, -7 deletions)
View changed files
📝
src/lib/components/workspace/Prompts.svelte(+13 -7)📄 Description
Summary
Fixes duplicate API requests and content flash when visiting the Prompts workspace page.
Root Cause
Two reactive statements were both triggering on mount:
Changes
src/lib/components/workspace/Prompts.svelte:
Result
Single API request on page load instead of duplicates.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.