fixup! Author books API: use a single query with result and count
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
import BookListElement from './BookListElement.vue';
|
import BookListElement from './BookListElement.vue';
|
||||||
import { getSearchBooks, getAuthorBooks, getCountAuthorBooks } from './api.js'
|
import { getSearchBooks, getAuthorBooks } from './api.js'
|
||||||
import { onBeforeRouteUpdate } from 'vue-router'
|
import { onBeforeRouteUpdate } from 'vue-router'
|
||||||
import Pagination from './Pagination.vue'
|
import Pagination from './Pagination.vue'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user