Fix backup/restore dialog titles not updating (#23164)

* Fix backup/restore dialog titles not updating

* Don't cast
This commit is contained in:
Charles Gagnon
2023-05-18 10:58:56 -07:00
committed by GitHub
parent 1efe948abe
commit d3f1d594e9
3 changed files with 17 additions and 6 deletions

View File

@@ -661,7 +661,7 @@ export abstract class Modal extends Disposable implements IThemable {
/**
* Set the title of the modal
*/
protected set title(title: string) {
public set title(title: string) {
this._title = title;
if (this._modalTitle) {
this._modalTitle.innerText = title;
@@ -671,7 +671,7 @@ export abstract class Modal extends Disposable implements IThemable {
}
}
protected get title(): string {
public get title(): string {
return this._title;
}