From d947fbfe3b97b921d21f2165ac4ad959cc746b1a Mon Sep 17 00:00:00 2001 From: Aemon Cao Date: Sat, 7 Jun 2025 15:13:04 +0800 Subject: [PATCH] Fixed the time string conversion call in the linkifyTimestamps method to ensure the this context is correctly referenced --- client/components/modals/podcast/ViewEpisode.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/modals/podcast/ViewEpisode.vue b/client/components/modals/podcast/ViewEpisode.vue index f5fa69387..50f83eecb 100644 --- a/client/components/modals/podcast/ViewEpisode.vue +++ b/client/components/modals/podcast/ViewEpisode.vue @@ -120,7 +120,7 @@ export default { const timeRegex = /\b((\d{1,2}:)?\d{1,2}:\d{2})\b/g return htmlString.replace(timeRegex, (match) => { - const totalSeconds = timeStringToSeconds(match) + const totalSeconds = this.timeStringToSeconds(match) if (totalSeconds !== null) { return `${match}` }