Add authentication #17

Manually merged
Webmaster merged 225 commits from auth into main 2025-03-08 10:37:06 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit bdd0941f04 - Show all commits

View file

@ -3,7 +3,7 @@ import { Icon } from "astro-icon/components";
import { Get } from "../../scripts/pocketbase/Get";
import { Authentication } from "../../scripts/pocketbase/Authentication";
import EventEditor from "./Officer_EventManagement/EventEditor";
import FilePreview from "./Officer_EventManagement/FilePreview";
import FilePreview from "./universal/FilePreview";
import Attendees from "./Officer_EventManagement/Attendees";
// Get instances
@ -610,7 +610,7 @@ const currentPage = eventResponse.page;
// Reset cache timestamp to force refresh
window.lastCacheUpdate = 0;
// Refresh events list
window.fetchEvents();
window.fetchEvents?.();
}}
/>
@ -725,7 +725,7 @@ const currentPage = eventResponse.page;
import { Update } from "../../scripts/pocketbase/Update";
import { FileManager } from "../../scripts/pocketbase/FileManager";
import { SendLog } from "../../scripts/pocketbase/SendLog";
import FilePreview from "./Officer_EventManagement/FilePreview";
import FilePreview from "./universal/FilePreview";
// Add file storage
const selectedFileStorage = new Map<string, File>();

View file

@ -4,7 +4,7 @@ import { Authentication } from "../../../scripts/pocketbase/Authentication";
import { Update } from "../../../scripts/pocketbase/Update";
import { FileManager } from "../../../scripts/pocketbase/FileManager";
import { SendLog } from "../../../scripts/pocketbase/SendLog";
import FilePreview from "./FilePreview";
import FilePreview from "../universal/FilePreview";
// Extend Window interface
declare global {