| @@ -1940,14 +1940,11 @@ | ||
| 1940 | 1940 | if ($tbody.find('tr[data-entry-id="' + entry.id + '"]').length > 0) { |
| 1941 | 1941 | return; |
| 1942 | 1942 | } |
| 1943 | 1943 | |
| 1944 | - // The Source cell comes from the server (plan b339c0): a link for a | |
| 1945 | - // web source, the file name for an uploaded file, the muted label | |
| 1946 | - // for manual content. The old two-way build stays as the fallback. | |
| 1947 | - const sourceHtml = entry.source_html || (entry.has_link | |
| 1944 | + const sourceHtml = entry.has_link | |
| 1948 | 1945 | ? '<a href="' + entry.source_url + '" target="_blank" style="color: var(--mxch-primary); text-decoration: none;"><span class="dashicons dashicons-external" style="font-size: 14px;"></span> View</a>' |
| 1949 | - : '<span style="color: var(--mxch-text-muted);">Manual</span>'); | |
| 1946 | + : '<span style="color: var(--mxch-text-muted);">Manual</span>'; | |
| 1950 | 1947 | |
| 1951 | 1948 | const deleteUrl = mxchatAdmin.admin_url + 'admin-post.php?action=mxchat_delete_prompt&id=' + entry.id + '&bot_id=' + encodeURIComponent(mxchatAdmin.bot_id || 'default') + '&_wpnonce=' + entry.delete_nonce; |
| 1952 | 1949 | |
| 1953 | 1950 | // Check if content needs expand button (content longer than preview) |