mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
Merge pull request #706 from github/fix/samples-modal-close
Fix modal close button on samples page
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
import { FuzzySearch, type SearchableItem } from "../search";
|
import { FuzzySearch, type SearchableItem } from "../search";
|
||||||
import { fetchData, escapeHtml } from "../utils";
|
import { fetchData, escapeHtml } from "../utils";
|
||||||
import { createChoices, getChoicesValues, type Choices } from "../choices";
|
import { createChoices, getChoicesValues, type Choices } from "../choices";
|
||||||
|
import { setupModal } from "../modal";
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
interface Language {
|
interface Language {
|
||||||
@@ -82,6 +83,7 @@ export async function initSamplesPage(): Promise<void> {
|
|||||||
search = new FuzzySearch(allRecipes);
|
search = new FuzzySearch(allRecipes);
|
||||||
|
|
||||||
// Setup UI
|
// Setup UI
|
||||||
|
setupModal();
|
||||||
setupFilters();
|
setupFilters();
|
||||||
setupSearch();
|
setupSearch();
|
||||||
renderCookbooks();
|
renderCookbooks();
|
||||||
|
|||||||
Reference in New Issue
Block a user