add package
This commit is contained in:
@@ -147,6 +147,7 @@ import type { EventRecord } from "@/types/EventRecord";
|
||||
import type { PhotoItem } from "@/types/Photo";
|
||||
import type { PointAction } from "@/types/Point";
|
||||
import { getEventNumberValuePlaceholder, resolveEventNumberValue } from "@/utils/eventValue";
|
||||
import { isPackagePurchaseEvent } from "@/utils/event";
|
||||
import { resolveSelectedOptionGroupList, validateEventOptionSelection } from "@/utils/eventOption";
|
||||
import { permissionCodes } from "@/utils/permission";
|
||||
import { getEventRecordPhotoURL, hasPhotoAttachment } from "@/utils/eventRecord";
|
||||
@@ -194,7 +195,7 @@ async function loadActions(): Promise<void> {
|
||||
isEventLoading.value = true;
|
||||
eventLoadFailed.value = false;
|
||||
try {
|
||||
eventList.value = await EventAPI.listValid();
|
||||
eventList.value = (await EventAPI.listValid()).filter(item => !isPackagePurchaseEvent(item));
|
||||
selectedEventIdList.value = buildInitialSelectedEventIdList();
|
||||
syncStoredEventId();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user