From 798690aba63f9669ec7bb61ef89cbde7ba27c306 Mon Sep 17 00:00:00 2001 From: Rushiraj Nenuji <19696935+rushirajnenuji@users.noreply.github.com> Date: Thu, 7 Sep 2023 12:26:29 -0700 Subject: [PATCH] Bug fix Bug fix --- src/js/views/DataPackageView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/views/DataPackageView.js b/src/js/views/DataPackageView.js index 2f6ba1b58..732f3a3d5 100644 --- a/src/js/views/DataPackageView.js +++ b/src/js/views/DataPackageView.js @@ -200,11 +200,13 @@ define([ if (typeof dataPackageId === 'undefined') dataPackageId = this.dataPackage.id; + var insertInfoIcon = (this.edit) ? false : view.dataEntities.includes(item.id); + dataItemView = new DataItemView({ model: item, metricsModel: this.metricsModel, itemPath: itemPath, - insertInfoIcon: view.dataEntities.includes(item.id), + insertInfoIcon: insertInfoIcon, currentlyViewing: this.currentlyViewing, mode: this.mode, parentEditorView: this.parentEditorView,