Update import_dialog.dart

This commit is contained in:
Ashita Prasad
2024-12-26 05:14:24 +05:30
parent 328f5ffee9
commit a0d285f721

View File

@ -37,7 +37,10 @@ void importToCollectionPane(
for (var model in importedRequestModels) {
ref
.read(collectionStateNotifierProvider.notifier)
.addRequestModel(model);
.addRequestModel(
model.$2,
name: model.$1,
);
}
sm.showSnackBar(getSnackBar(
"Successfully imported ${importedRequestModels.length} requests",