From 749dcde7f18ae1481da16f4279d45824d9d49bb5 Mon Sep 17 00:00:00 2001 From: Tal Ben-Nun Date: Tue, 28 Nov 2023 08:33:11 -0800 Subject: [PATCH] Fix empty memlet tooltip --- src/renderer/renderer_elements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/renderer_elements.ts b/src/renderer/renderer_elements.ts index b1190ce1..5b073c52 100644 --- a/src/renderer/renderer_elements.ts +++ b/src/renderer/renderer_elements.ts @@ -982,7 +982,7 @@ export class Memlet extends Edge { const dsettings = renderer.view_settings(); const attr = this.attributes(); - if (attr.subset === null || attr.subset === undefined) { // Empty memlet + if (attr.data === null || attr.data === undefined) { // Empty memlet container.style.display = 'none'; return; }