Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ledger option to Create Database dialog #25224

Merged
merged 4 commits into from
Jan 19, 2024
Merged

Conversation

corivera
Copy link
Member

@corivera corivera commented Jan 19, 2024

Closes #24544

LedgerDatabase

List of changes in the STS version bump:
VBump

@coveralls
Copy link

coveralls commented Jan 19, 2024

Pull Request Test Coverage Report for Build 7589005693

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 41.76%

Totals Coverage Status
Change from base Build 7563625543: 0.002%
Covered Lines: 30828
Relevant Lines: 69081

💛 - Coveralls

Copy link
Contributor

@kisantia kisantia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also please add a screenshot in the description of the STS changes coming in with this update

@@ -378,6 +378,13 @@ export class DatabaseDialog extends ObjectManagementDialogBase<Database, Databas
containers.push(this.createLabelInputContainer(localizedConstants.ContainmentTypeText, containmentDropbox));
}

if (!isUndefinedOrNull(this.objectInfo.isLedgerDatabase)) {
let isLedgerDatabaseInput = this.createCheckbox(localizedConstants.IsLedgerDatabaseText, async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this async? I don't see any awaits in the block

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback argument to createCheckbox (and many others) always expects a Promise return type

@corivera corivera merged commit f0fb2fe into main Jan 19, 2024
14 checks passed
@corivera corivera deleted the corivera/ledgerOption branch January 19, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support enabling Ledger when creating new database
4 participants