Updated 07-05-2026, 10:26

Commit: ed0b014 Show on GitHub

  • Author: RazanSagheer
  • Date: 5/28/2026, 9:08:46 PM
  • Message: refactor(upload-button): fetch themes dynamically from Directus instead of hardcoding. #382 - Add themes fetch in load() using groupBy on footguard_articles - Pass themes as prop to UploadArticleButton from +page.svelte - Remove hardcoded THEMES constant from component
  • Stats: 30 total changes (+23 / -7)

Changed Files

  • src/lib/components/buttons/UploadArticleButton.svelte — +5 / -5 (10 changes)
  • src/routes/research/+page.server.js — +17 / -1 (18 changes)
  • src/routes/research/+page.svelte — +1 / -1 (2 changes)