[PR #1617] [CLOSED] Changed two .forEach loops with anonymous funcs to a backwards for loop #59578

Closed
opened 2026-05-06 01:44:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1617
Author: @Entaigner
Created: 4/19/2024
Status: Closed

Base: mainHead: patch-2


📝 Commits (1)

  • 90d83d9 Changed two .forEach loops with anonymous functions to a backwards for loop

📊 Changes

1 file changed (+9 additions, -13 deletions)

View changed files

📝 src/routes/(app)/c/[id]/+page.svelte (+9 -13)

📄 Description

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description

Changed two .forEach loops with anonymous functions to a backwards for loop.
The code removes all but the last .images references from messageBody before submission to backend.


Changelog Entry

Changed

  • Changed two .forEach loops with anonymous functions to a backwards for loop

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1617 **Author:** [@Entaigner](https://github.com/Entaigner) **Created:** 4/19/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`90d83d9`](https://github.com/open-webui/open-webui/commit/90d83d9caa1823016c07a8ed438af69bb768e734) Changed two .forEach loops with anonymous functions to a backwards for loop ### 📊 Changes **1 file changed** (+9 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `src/routes/(app)/c/[id]/+page.svelte` (+9 -13) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? --- ## Description Changed two .forEach loops with anonymous functions to a backwards for loop. The code removes all but the last .images references from messageBody before submission to backend. --- ### Changelog Entry ### Changed - Changed two .forEach loops with anonymous functions to a backwards for loop --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 01:44:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#59578