Pārlūkot izejas kodu

HPCC-20301 Contents displays no information

If the content tab is clicked on before the response comes back it causes a render issue. I am using a disable flag which disables tab until the response finishes.

Signed-off by: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Miguel Vazquez 6 gadi atpakaļ
vecāks
revīzija
9032be6ae8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      esp/src/eclwatch/LFDetailsWidget.js

+ 1 - 1
esp/src/eclwatch/LFDetailsWidget.js

@@ -434,7 +434,7 @@ define([
             this.setDisabled(this.id + "CopyDropDown", this.logicalFile.isDeleted());
             this.setDisabled(this.id + "CopyDropDown", this.logicalFile.isDeleted());
             this.setDisabled(this.id + "RenameDropDown", this.logicalFile.isDeleted());
             this.setDisabled(this.id + "RenameDropDown", this.logicalFile.isDeleted());
             this.setDisabled(this.id + "DesprayDropDown", this.logicalFile.isDeleted());
             this.setDisabled(this.id + "DesprayDropDown", this.logicalFile.isDeleted());
-            this.setDisabled(this.id + "_Content", this.logicalFile.isDeleted());
+            this.setDisabled(this.id + "_Content", this.logicalFile.isDeleted()  || !this.logicalFile.Ecl);
             this.setDisabled(this.id + "_Source", this.logicalFile.isDeleted() || !this.logicalFile.Ecl);
             this.setDisabled(this.id + "_Source", this.logicalFile.isDeleted() || !this.logicalFile.Ecl);
             this.setDisabled(this.id + "_DEF", this.logicalFile.isDeleted() || !this.logicalFile.Ecl);
             this.setDisabled(this.id + "_DEF", this.logicalFile.isDeleted() || !this.logicalFile.Ecl);
             this.setDisabled(this.id + "_XML", this.logicalFile.isDeleted() || !this.logicalFile.Ecl);
             this.setDisabled(this.id + "_XML", this.logicalFile.isDeleted() || !this.logicalFile.Ecl);