Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
rushirajnenuji committed Sep 7, 2023
1 parent e9b0bb1 commit 798690a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/views/DataPackageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 798690a

Please sign in to comment.