diff --git a/src/components/Researcher/ActivityList/ActivityMethods.ts b/src/components/Researcher/ActivityList/ActivityMethods.ts index 8ffa78cb..5669caf8 100644 --- a/src/components/Researcher/ActivityList/ActivityMethods.ts +++ b/src/components/Researcher/ActivityList/ActivityMethods.ts @@ -1110,6 +1110,15 @@ export const SchemaList = () => { }, }, }, + "lamp.dcog": { + type: "object", + properties: { + settings: { + title: i18n.t("Activity Settings"), + type: "object", + }, + }, + }, "lamp.cats_and_dogs_new": { type: "object", properties: { diff --git a/src/components/Researcher/ActivityList/AddActivity.tsx b/src/components/Researcher/ActivityList/AddActivity.tsx index 7a53665d..8da30287 100644 --- a/src/components/Researcher/ActivityList/AddActivity.tsx +++ b/src/components/Researcher/ActivityList/AddActivity.tsx @@ -174,7 +174,6 @@ export default function AddActivity({ useEffect(() => { ;(async () => { - LAMP.ActivitySpec.create({ name: "lamp.dcog" }) const allSpecs = await LAMP.ActivitySpec.all() let availableSpecs = allSpecs.filter((x: any) => Object.keys(activitiesObj).includes(x?.id)) let otherSpecs = allSpecs.filter((x: any) => !Object.keys(activitiesObj).includes(x?.id))