mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Remove button property setter causing exception (#13284)
* Fix navigation buttons * Remove icon set in welcome page
This commit is contained in:
@@ -557,7 +557,6 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
|
|||||||
private addButton(label: string, onDidClick?: () => void, enabled?: boolean): void {
|
private addButton(label: string, onDidClick?: () => void, enabled?: boolean): void {
|
||||||
const container = DOM.append(this.bookNav.nativeElement, DOM.$('.dialog-message-button'));
|
const container = DOM.append(this.bookNav.nativeElement, DOM.$('.dialog-message-button'));
|
||||||
let button = new Button(container);
|
let button = new Button(container);
|
||||||
button.icon = '';
|
|
||||||
button.label = label;
|
button.label = label;
|
||||||
if (onDidClick) {
|
if (onDidClick) {
|
||||||
this._register(button.onDidClick(onDidClick));
|
this._register(button.onDidClick(onDidClick));
|
||||||
|
|||||||
@@ -171,7 +171,6 @@ export class GuidedTour extends Disposable {
|
|||||||
bodyTag.innerText = body;
|
bodyTag.innerText = body;
|
||||||
stepText.innerText = `${step} of ${tourData.length}`;
|
stepText.innerText = `${step} of ${tourData.length}`;
|
||||||
let button = new Button(btnContainer);
|
let button = new Button(btnContainer);
|
||||||
button.icon = '';
|
|
||||||
button.label = btnText;
|
button.label = btnText;
|
||||||
btnContainer.appendChild(stepText);
|
btnContainer.appendChild(stepText);
|
||||||
flexContainer.appendChild(img);
|
flexContainer.appendChild(img);
|
||||||
|
|||||||
Reference in New Issue
Block a user