diff --git a/client/src/components/History/Content/ContentItem.test.js b/client/src/components/History/Content/ContentItem.test.js index 53b16dc38d7e..a3c30af4b215 100644 --- a/client/src/components/History/Content/ContentItem.test.js +++ b/client/src/components/History/Content/ContentItem.test.js @@ -6,6 +6,7 @@ import { getLocalVue } from "tests/jest/helpers"; import ContentItem from "./ContentItem"; +jest.mock("@/schema"); jest.mock("components/History/model/queries"); jest.mock("vue-router/composables", () => ({ useRoute: jest.fn(() => ({})), diff --git a/client/src/components/History/Content/ContentItem.vue b/client/src/components/History/Content/ContentItem.vue index ee5723d9f1f5..958b220fe65d 100644 --- a/client/src/components/History/Content/ContentItem.vue +++ b/client/src/components/History/Content/ContentItem.vue @@ -1,3 +1,197 @@ + + - + @@ -67,8 +261,8 @@ @display="onDisplay" @showCollectionInfo="onShowCollectionInfo" @edit="onEdit" - @undelete="$emit('undelete')" - @unhide="$emit('unhide')" /> + @undelete="emit('undelete')" + @unhide="emit('unhide')" /> - -