Skip to content

Commit bb6808e

Browse files
committed
bug fix: undefined exception
1 parent 00cea74 commit bb6808e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firefly/js/visualize/ui/VisMiniToolbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ const VisMiniToolbarView= memo( ({visRoot,dlCount,availableWidth, manageExpand,
229229
}
230230

231231

232-
{apiToolsView && !pv.plotViewCtx.useForCoverage && <ToolbarButton icon={NEW_IMAGE} tip='Select a new image'
232+
{apiToolsView && !pv?.plotViewCtx?.useForCoverage && <ToolbarButton icon={NEW_IMAGE} tip='Select a new image'
233233
horizontal={true} visible={mi.imageSelect} onClick={showImagePopup}/>}
234234

235235
<DropDownToolbarButton icon={TOOL_DROP} tip='Tools drop down' enabled={enabled} horizontal={true}

0 commit comments

Comments
 (0)