Skip to content

Commit

Permalink
fix #7211 hide coherent modes panel for arbitrary sources
Browse files Browse the repository at this point in the history
  • Loading branch information
moellep committed Oct 7, 2024
1 parent faf5f42 commit 201184f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sirepo/package_data/static/html/srw-source.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div data-ng-if="source.srwService.isGaussianBeam() || source.srwService.isElectronBeam()" class="sr-panel-item">
<div data-report-panel="3d" data-request-priority="5" data-model-name="sourceIntensityReport" data-panel-title="{{ source.srwService.getReportTitle('sourceIntensityReport') }}"></div>
</div>
<div data-ng-if="! source.srwService.isGaussianBeam()" class="sr-panel-item">
<div data-ng-if="! source.srwService.isGaussianBeam() && ! source.srwService.isArbitraryMagField()" class="sr-panel-item">
<div data-report-panel="3d" data-request-priority="5" data-model-name="coherentModesAnimation" data-panel-title="{{ source.srwService.getReportTitle('coherentModesAnimation') }}"><div data-simulation-status-panel="coherentModesAnimation"></div></div>
</div>
<div data-ng-if="source.srwService.isIdealizedUndulator()" class="sr-panel-item">
Expand Down

0 comments on commit 201184f

Please sign in to comment.