INNER CODE UNIT · JavaScript
showToast
FuzzingLabs/mcp-security-hub · scripts/templates/app.js:21
function showToast() {
copyToast.classList.add('show');
setTimeout(() => {
copyToast.classList.remove('show');
}, 2000);
}
/**
* Filter servers based on category and search query
*/
function filterServers() {
serverCards.forEach(card => {
const name = card.dataset.name.toLowerCase();
const category = card.dataset.category;
const description = (card.dataset.description || '').toLowerCase();
const matchesCategory = activeCategory === 'all' || category === activeCategory;
const matchesSearch = searchQuery === '' ||