Making IsLedger Property to Read-only (#23804)
* Making IsLedger Property to Read-only * refactor * Update extensions/mssql/src/objectManagement/ui/databaseDialog.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> --------- Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
Родитель
d23cb8e90f
Коммит
207b1daf9f
|
@ -336,10 +336,8 @@ export class DatabaseDialog extends ObjectManagementDialogBase<Database, Databas
|
|||
}
|
||||
|
||||
private initializeLedgerSection(): void {
|
||||
// Ledger Database
|
||||
this.isLedgerDatabaseInput = this.createCheckbox(localizedConstants.IsLedgerDatabaseText, async (checked) => {
|
||||
this.objectInfo.isLedgerDatabase = checked;
|
||||
}, this.objectInfo.isLedgerDatabase);
|
||||
// Ledger Database - ReadOnly (This can only be set during creation and not changed afterwards)
|
||||
this.isLedgerDatabaseInput = this.createCheckbox(localizedConstants.IsLedgerDatabaseText, async () => { }, this.objectInfo.isLedgerDatabase, false);
|
||||
|
||||
const ledgerSection = this.createGroup(localizedConstants.LedgerSectionHeader, [
|
||||
this.isLedgerDatabaseInput
|
||||
|
|
Загрузка…
Ссылка в новой задаче