mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
@@ -188,7 +188,11 @@ export class UserDialog extends ObjectManagementDialogBase<ObjectManagement.User
|
|||||||
}
|
}
|
||||||
|
|
||||||
private initializeOwnedSchemaSection(): void {
|
private initializeOwnedSchemaSection(): void {
|
||||||
this.ownedSchemaTable = this.createTableList(localizedConstants.OwnedSchemaSectionHeader, this.viewInfo.schemas, this.objectInfo.ownedSchemas);
|
const ownedSchemaData = this.viewInfo.schemas.map(name => {
|
||||||
|
const isSelected = this.objectInfo.ownedSchemas.indexOf(name) !== -1;
|
||||||
|
return [{ enabled: !isSelected, checked: isSelected }, name];
|
||||||
|
});
|
||||||
|
this.ownedSchemaTable = this.createTableList(localizedConstants.OwnedSchemaSectionHeader, this.viewInfo.schemas, this.objectInfo.ownedSchemas, ownedSchemaData);
|
||||||
this.ownedSchemaSection = this.createGroup(localizedConstants.OwnedSchemaSectionHeader, [this.ownedSchemaTable]);
|
this.ownedSchemaSection = this.createGroup(localizedConstants.OwnedSchemaSectionHeader, [this.ownedSchemaTable]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user