mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 01:25:38 -05:00
withProperties -> withProps (#15876)
* withProperties -> withProps * Fix errors * remove , * fixes * Update azdata-test * Fix dacpac tests * Add required and remove added layout
This commit is contained in:
@@ -1717,6 +1717,13 @@ class ButtonWrapper extends ComponentWithIconWrapper implements azdata.ButtonCom
|
||||
this.setProperty('label', v);
|
||||
}
|
||||
|
||||
public get fileType(): string {
|
||||
return this.properties['fileType'];
|
||||
}
|
||||
public set fileType(v: string) {
|
||||
this.setProperty('fileType', v);
|
||||
}
|
||||
|
||||
public get onDidClick(): vscode.Event<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onDidClick);
|
||||
return emitter && emitter.event;
|
||||
|
||||
@@ -451,7 +451,7 @@ suite('ExtHostModelView Validation Tests', () => {
|
||||
*/
|
||||
function createDeclarativeTable(modelView: azdata.ModelView, dataType: DeclarativeDataType, data?: any[]): azdata.DeclarativeTableComponent {
|
||||
return modelView.modelBuilder.declarativeTable()
|
||||
.withProperties(
|
||||
.withProps(
|
||||
{
|
||||
columns: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user