Changed back to No and Yes
This commit is contained in:
parent
be7598d101
commit
9f37561396
1 changed files with 2 additions and 2 deletions
|
|
@ -21,12 +21,12 @@ export class ConfirmOverwriteModal extends Modal {
|
||||||
|
|
||||||
const bottomSettingRow = new Setting(contentEl);
|
const bottomSettingRow = new Setting(contentEl);
|
||||||
bottomSettingRow.addButton(btn => {
|
bottomSettingRow.addButton(btn => {
|
||||||
btn.setButtonText('Cancel');
|
btn.setButtonText('No');
|
||||||
btn.onClick(() => this.close());
|
btn.onClick(() => this.close());
|
||||||
btn.buttonEl.addClass('media-db-plugin-button');
|
btn.buttonEl.addClass('media-db-plugin-button');
|
||||||
});
|
});
|
||||||
bottomSettingRow.addButton(btn => {
|
bottomSettingRow.addButton(btn => {
|
||||||
btn.setButtonText('Ok');
|
btn.setButtonText('Yes');
|
||||||
btn.setCta();
|
btn.setCta();
|
||||||
btn.onClick(() => {
|
btn.onClick(() => {
|
||||||
this.result = true;
|
this.result = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue