[PR #10311] [MERGED] Fix "Cannot read properties of undefined (reading 'startsWith')" #38123

Closed
opened 2026-04-25 11:16:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10311
Author: @alexgleason
Created: 2/19/2025
Status: Merged
Merged: 2/19/2025
Merged by: @tjbck

Base: devHead: fix-undefined-title


📝 Commits (1)

  • 5639ba4 Fix "Cannot read properties of undefined (reading 'startsWith')"

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/lib/components/chat/Messages/Markdown/Source.svelte (+2 -2)

📄 Description

I don't know the root cause of why title isn't available here, but it's crashing the UI because the types are wrong.

Looks like this was introduced in bbda717b69

image

image


🔄 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/10311 **Author:** [@alexgleason](https://github.com/alexgleason) **Created:** 2/19/2025 **Status:** ✅ Merged **Merged:** 2/19/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix-undefined-title` --- ### 📝 Commits (1) - [`5639ba4`](https://github.com/open-webui/open-webui/commit/5639ba423bfaa5340bb7b26e56cb22d341f13be5) Fix "Cannot read properties of undefined (reading 'startsWith')" ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/Markdown/Source.svelte` (+2 -2) </details> ### 📄 Description I don't know the root cause of why `title` isn't available here, but it's crashing the UI because the types are wrong. Looks like this was introduced in bbda717b69cd26f7a3cb1c87a383e0d5d522a30c ![image](https://github.com/user-attachments/assets/5a25e871-8751-4106-a7b5-541446281fcd) ![image](https://github.com/user-attachments/assets/e963762e-8a28-4bd9-a427-798137de689a) --- <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-04-25 11:16:56 -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#38123