update imports

This commit is contained in:
chark1es 2025-02-17 13:52:21 -08:00
parent a135dfa918
commit bdd0941f04
2 changed files with 4 additions and 4 deletions

View file

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