File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,8 @@ export default class MediaDbPlugin extends Plugin {
172
172
let proceed : boolean ;
173
173
174
174
while ( ! proceed ) {
175
- selectResults = await this . modalHelper . openSelectModal ( apiSearchResults , async ( selectedMediaTypeModels ) => {
176
- return await this . queryDetails ( selectedMediaTypeModels ) ;
175
+ selectResults = await this . modalHelper . openSelectModal ( { elements : apiSearchResults } , async ( selectModalData ) => {
176
+ return await this . queryDetails ( selectModalData . selected ) ;
177
177
} ) ;
178
178
if ( ! selectResults ) {
179
179
return ;
@@ -192,8 +192,8 @@ export default class MediaDbPlugin extends Plugin {
192
192
let proceed : boolean ;
193
193
194
194
while ( ! proceed ) {
195
- idSearchResult = await this . modalHelper . openIdSearchModal ( async ( idSearchOptions ) => {
196
- return await this . apiManager . queryDetailedInfoById ( idSearchOptions . query , idSearchOptions . api ) ;
195
+ idSearchResult = await this . modalHelper . openIdSearchModal ( { } , async ( idSearchModalData ) => {
196
+ return await this . apiManager . queryDetailedInfoById ( idSearchModalData . query , idSearchModalData . api ) ;
197
197
} )
198
198
if ( ! idSearchResult ) {
199
199
return ;
You can’t perform that action at this time.
0 commit comments