mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 05:32:26 +08:00
Update import_dialog.dart
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user