fix: properly merge this time
This commit is contained in:
parent
6b5e669f63
commit
3a4b69717d
1 changed files with 4 additions and 4 deletions
|
|
@ -172,8 +172,8 @@ export default class MediaDbPlugin extends Plugin {
|
||||||
let proceed: boolean;
|
let proceed: boolean;
|
||||||
|
|
||||||
while (!proceed) {
|
while (!proceed) {
|
||||||
selectResults = await this.modalHelper.openSelectModal(apiSearchResults, async (selectedMediaTypeModels) => {
|
selectResults = await this.modalHelper.openSelectModal({elements: apiSearchResults}, async (selectModalData) => {
|
||||||
return await this.queryDetails(selectedMediaTypeModels);
|
return await this.queryDetails(selectModalData.selected);
|
||||||
});
|
});
|
||||||
if (!selectResults) {
|
if (!selectResults) {
|
||||||
return;
|
return;
|
||||||
|
|
@ -192,8 +192,8 @@ export default class MediaDbPlugin extends Plugin {
|
||||||
let proceed: boolean;
|
let proceed: boolean;
|
||||||
|
|
||||||
while (!proceed) {
|
while (!proceed) {
|
||||||
idSearchResult = await this.modalHelper.openIdSearchModal(async (idSearchOptions) => {
|
idSearchResult = await this.modalHelper.openIdSearchModal({}, async (idSearchModalData) => {
|
||||||
return await this.apiManager.queryDetailedInfoById(idSearchOptions.query, idSearchOptions.api);
|
return await this.apiManager.queryDetailedInfoById(idSearchModalData.query, idSearchModalData.api);
|
||||||
})
|
})
|
||||||
if (!idSearchResult) {
|
if (!idSearchResult) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue