Skip to content

Commit

Permalink
RavenDB-20766 Document Refresh does not go into Configuration export …
Browse files Browse the repository at this point in the history
…- studio part
  • Loading branch information
ml054 committed Jun 29, 2023
1 parent f496072 commit d4bab21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class smugglerDatabaseRecord {
includeTimeSeries = ko.observable<boolean>(true);
includeSettings = ko.observable<boolean>(true);
includeRevisions = ko.observable<boolean>(true);
includeRefresh = ko.observable<boolean>(true);
includeExpiration = ko.observable<boolean>(true);
includePeriodicBackups = ko.observable<boolean>(true);
includeExternalReplications = ko.observable<boolean>(true);
Expand Down Expand Up @@ -101,6 +102,9 @@ class smugglerDatabaseRecord {
if (this.includeRevisions()) {
result.push("Revisions");
}
if (this.includeRefresh()) {
result.push("Refresh");
}
if (this.includeExpiration()) {
result.push("Expiration");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
<input type="checkbox" data-bind="checked: includeRevisions, attr: { id: 'includeRevisions_' + instanceCounter }">
<label data-bind="attr: { for: 'includeRevisions_' + instanceCounter }" class="margin-right margin-right-sm">Revisions Configuration</label>
</div>
<div class="toggle">
<input type="checkbox" data-bind="checked: includeRefresh, attr: { id: 'includeRefresh_' + instanceCounter }">
<label data-bind="attr: { for: 'includeRefresh_' + instanceCounter }" class="margin-right margin-right-sm">Document Refresh</label>
</div>
<div class="toggle">
<input type="checkbox" data-bind="checked: includeExpiration, attr: { id: 'includeExpiration_' + instanceCounter }">
<label data-bind="attr: { for: 'includeExpiration_' + instanceCounter }" class="margin-right margin-right-sm">Document Expiration</label>
Expand Down

0 comments on commit d4bab21

Please sign in to comment.