mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 09:35:37 -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> {
|
||||
if (!this.isDirty()) {
|
||||
return;
|
||||
}
|
||||
if (this.tableDesignerView?.useAdvancedSaveMode) {
|
||||
await this.openPublishDialog();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user