Skip to content

Commit 3280d77

Browse files
committed
Add simulationMode to configuration settings
1 parent 69984dc commit 3280d77

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

javascripts/models/script.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascripts/models/script.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/models/script.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export class Script {
4040
@NonSerializableIfDefault(false, [CONSTANTS.EXPORT_JSON_TAG])
4141
allOrNone: boolean = false;
4242

43+
@NonSerializableIfDefault(false, [CONSTANTS.EXPORT_JSON_TAG])
44+
simulationMode: boolean = false;
45+
4346
@NonSerializableIfDefault(true, [CONSTANTS.EXPORT_JSON_TAG])
4447
promptOnUpdateError: boolean = true;
4548

views/partials/config_sections/configSettings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="col-4 border-right pr-0">
88
<!-- Boolean config properties -->
99
<div class="mt-3"
10-
ng-repeat="prop in ['keepObjectOrderWhileExecute','allOrNone','promptOnUpdateError','promptOnMissingParentObjects','promptOnIssuesInCSVFiles','validateCSVFilesOnly','createTargetCSVFiles','importCSVFilesAsIs','alwaysUseRestApiToUpdateRecords', 'excludeIdsFromCSVFiles', 'fileLog', 'allowFieldTruncation'] | orderBy : 'prop' track by prop">
10+
ng-repeat="prop in ['simulationMode', 'keepObjectOrderWhileExecute','allOrNone','promptOnUpdateError','promptOnMissingParentObjects','promptOnIssuesInCSVFiles','validateCSVFilesOnly','createTargetCSVFiles','importCSVFilesAsIs','alwaysUseRestApiToUpdateRecords', 'excludeIdsFromCSVFiles', 'fileLog', 'allowFieldTruncation'] | orderBy : 'prop' track by prop">
1111
<uib-switch ng-change="ui.configPage.saveConfigHandler()"
1212
id="configGlobalParameterSwitch_{{$index}}" ng-model="ui.state.config()[prop]">
1313
<strong>{{prop}}</strong>

0 commit comments

Comments
 (0)