Skip to content

Commit

Permalink
fix #7266 srw and shadow error on sim conversion modal (#7271)
Browse files Browse the repository at this point in the history
  • Loading branch information
moellep committed Sep 20, 2024
1 parent e07f7d6 commit a78cb0f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sirepo/package_data/static/js/sirepo-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -3727,9 +3727,6 @@ SIREPO.app.directive('simConversionModal', function(appState, requestSender) {
</div>
`,
controller: function($scope) {
if (SIREPO.APP_SCHEMA.constants.canCreateNewSimulation) {
throw new Error(`SIREPO.APP_SCHEMA.constants.canCreateNewSimulation=${SIREPO.APP_SCHEMA.constants.canCreateNewSimulation} but adding simConversionModal`);
}
$scope.newSimURL = false;
$scope.title = $scope.convMethod == 'create_shadow_simulation' ? 'Shadow' : 'SRW';

Expand Down

0 comments on commit a78cb0f

Please sign in to comment.