🪰 Making the "fly" out sliding panel reusable
This commit is contained in:
@@ -63,7 +63,6 @@ export const getComicBookDetailById =
|
||||
type: IMS_COMIC_BOOK_DB_OBJECT_CALL_IN_PROGRESS,
|
||||
IMS_inProgress: true,
|
||||
});
|
||||
|
||||
const result = await axios.request({
|
||||
url: `http://localhost:3000/api/import/getComicBookById`,
|
||||
method: "POST",
|
||||
@@ -76,6 +75,18 @@ export const getComicBookDetailById =
|
||||
comicBookDetail: result.data,
|
||||
IMS_inProgress: false,
|
||||
});
|
||||
const pageCount = await axios.request({
|
||||
url: "http://localhost:3000/api/import/getPageCountsForComicBook",
|
||||
method: "POST",
|
||||
data: {
|
||||
filePath:
|
||||
result.data.rawFileDetails.containedIn +
|
||||
"/" +
|
||||
result.data.rawFileDetails.name +
|
||||
result.data.rawFileDetails.extension,
|
||||
},
|
||||
});
|
||||
console.log(pageCount);
|
||||
};
|
||||
|
||||
export const applyComicVineMatch =
|
||||
|
||||
Reference in New Issue
Block a user