diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue index 2ebac8b2..0356b741 100644 --- a/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue +++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/TaskList.vue @@ -136,7 +136,9 @@ export default { }, rowInfo: { type: Object, - required: true, + default() { + return {} + } }, }, data() { diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue index 8fa642f3..d269e1fa 100644 --- a/src/views/trials/trials-panel/trial-summary/data-sync/index.vue +++ b/src/views/trials/trials-panel/trial-summary/data-sync/index.vue @@ -44,7 +44,7 @@ export default { activeTab: 'study', tabInfo: { activeTab: 'file', - currentRow: null + currentRow: {} }, fileUploadRecordId: '', path: '' @@ -52,7 +52,7 @@ export default { }, methods: { openTaskTable(obj) { - this.tabInfo.currentRow = obj || null + this.tabInfo.currentRow = obj || {} this.fileUploadRecordId = obj.Id this.path = obj.Path this.tabInfo.activeTab = 'task'