Browse Source

fix: remove remaining copy button from content items

- Removed copy button from content item list in ContentPage.ts
- Verified multi-page content handling works correctly:
  * extractAllPageContent() processes all URLs per category
  * saveContent() creates separate records for each URL
  * getLatestContentByType() groups multiple pages by category
  * Frontend displays all pages with proper counts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fszontagh 8 months ago
parent
commit
19acad0017
1 changed files with 0 additions and 11 deletions
  1. 0 11
      web/src/components/pages/ContentPage.ts

+ 0 - 11
web/src/components/pages/ContentPage.ts

@@ -610,17 +610,6 @@ export class ContentPage {
                 View Full
               </button>
             ` : ''}
-            <button
-              class="btn btn-secondary btn-sm w-full"
-              onclick="navigator.clipboard.writeText(\`${item.content.replace(/`/g, '\\`').replace(/\$/g, '\\$')}\`).then(() => {
-                document.dispatchEvent(new CustomEvent('show-toast', {
-                  detail: { type: 'success', title: 'Copied!', message: 'Content copied to clipboard' }
-                }));
-              })"
-            >
-              <div class="w-4 h-4 mr-1">${getIcon('copy')}</div>
-              Copy
-            </button>
           </div>
         </div>
       </div>