From fee9287ac7f39c8ed5a26c75efc27a031c8d0717 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Thu, 19 May 2022 18:23:25 +0200 Subject: [PATCH] Set default visible and deleted state in ContentOptions Datasets as collection elements do not provide visible and deleted values and are assumed to be visible and non-deleted. --- client/src/components/History/Content/ContentOptions.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/History/Content/ContentOptions.vue b/client/src/components/History/Content/ContentOptions.vue index a3e30c801ff..a446818e4db 100644 --- a/client/src/components/History/Content/ContentOptions.vue +++ b/client/src/components/History/Content/ContentOptions.vue @@ -56,10 +56,10 @@ export default { props: { isDataset: { type: Boolean, required: true }, - isDeleted: { type: Boolean, required: true }, + isDeleted: { type: Boolean, default: false }, isHistoryItem: { type: Boolean, required: true }, isPurged: { type: Boolean, default: false }, - isVisible: { type: Boolean, required: true }, + isVisible: { type: Boolean, default: true }, state: { type: String, default: "" }, }, computed: {