Explorar o código

fix PDBeStructureQualityReport.autoAttach

David Sehnal %!s(int64=5) %!d(string=hai) anos
pai
achega
eaf28bf016

+ 1 - 1
src/mol-plugin/behavior/dynamic/custom-props/pdbe/structure-quality-report.ts

@@ -45,7 +45,7 @@ export const PDBeStructureQualityReport = PluginBehavior.create<{ autoAttach: bo
         }
         }
 
 
         register(): void {
         register(): void {
-            this.ctx.customModelProperties.register(this.provider, false);
+            this.ctx.customModelProperties.register(this.provider, this.params.autoAttach);
             this.ctx.managers.lociLabels.addProvider(this.labelPDBeValidation);
             this.ctx.managers.lociLabels.addProvider(this.labelPDBeValidation);
 
 
             this.ctx.representation.structure.themes.colorThemeRegistry.add(StructureQualityReportColorThemeProvider)
             this.ctx.representation.structure.themes.colorThemeRegistry.add(StructureQualityReportColorThemeProvider)