mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
check state before saving (#19803)
This commit is contained in:
@@ -183,6 +183,9 @@ export class TableDesignerComponentInput implements DesignerComponentInput {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async save(): Promise<void> {
|
async save(): Promise<void> {
|
||||||
|
if (!this.isDirty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.tableDesignerView?.useAdvancedSaveMode) {
|
if (this.tableDesignerView?.useAdvancedSaveMode) {
|
||||||
await this.openPublishDialog();
|
await this.openPublishDialog();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user