Revert "fix: Tote src-type-display Referenzen entfernt (Element existiert nicht im HTML)"

This reverts commit 34eb28d622.
Dieser Commit ist enthalten in:
Claude Dev
2026-03-16 23:21:34 +01:00
Ursprung 34eb28d622
Commit ada0596c2b

Datei anzeigen

@@ -2731,6 +2731,7 @@ const App = {
const typeLabel = this._discoveredData.source_type === 'rss_feed' ? 'RSS-Feed' : this._discoveredData.source_type === 'telegram_channel' ? 'Telegram' : 'Web-Quelle'; const typeLabel = this._discoveredData.source_type === 'rss_feed' ? 'RSS-Feed' : this._discoveredData.source_type === 'telegram_channel' ? 'Telegram' : 'Web-Quelle';
const typeSelect = document.getElementById('src-type-select'); const typeSelect = document.getElementById('src-type-select');
if (typeSelect) typeSelect.value = this._discoveredData.source_type || 'web_source'; if (typeSelect) typeSelect.value = this._discoveredData.source_type || 'web_source';
document.getElementById('src-type-display').value = typeLabel;
const rssGroup = document.getElementById('src-rss-url-group'); const rssGroup = document.getElementById('src-rss-url-group');
const rssInput = document.getElementById('src-rss-url'); const rssInput = document.getElementById('src-rss-url');
@@ -2810,6 +2811,7 @@ const App = {
const typeLabel = source.source_type === 'rss_feed' ? 'RSS-Feed' : source.source_type === 'telegram_channel' ? 'Telegram' : 'Web-Quelle'; const typeLabel = source.source_type === 'rss_feed' ? 'RSS-Feed' : source.source_type === 'telegram_channel' ? 'Telegram' : 'Web-Quelle';
const typeSelect = document.getElementById('src-type-select'); const typeSelect = document.getElementById('src-type-select');
if (typeSelect) typeSelect.value = source.source_type || 'web_source'; if (typeSelect) typeSelect.value = source.source_type || 'web_source';
document.getElementById('src-type-display').value = typeLabel;
const rssGroup = document.getElementById('src-rss-url-group'); const rssGroup = document.getElementById('src-rss-url-group');
const rssInput = document.getElementById('src-rss-url'); const rssInput = document.getElementById('src-rss-url');