diff --git a/extensions/mssql/src/objectManagement/ui/databaseDialog.ts b/extensions/mssql/src/objectManagement/ui/databaseDialog.ts index cb427bcdac21..ba32b900f37e 100644 --- a/extensions/mssql/src/objectManagement/ui/databaseDialog.ts +++ b/extensions/mssql/src/objectManagement/ui/databaseDialog.ts @@ -909,15 +909,7 @@ export class DatabaseDialog extends ObjectManagementDialogBase { - if (fg.type === FileGroupType.FileStreamDataFileGroup) { - fg.isDefault = fg.name === filegroup.name && fg.id === filegroup.id ? arg.value : !arg.value; - } - }); - } else { - filegroup.isDefault = arg.value; - } + this.updateFilegroupsDefaultColumnValues(arg.value, filegroup, FileGroupType.FileStreamDataFileGroup); } // Refresh the table with updated data