diff --git a/client/src/api/histories.ts b/client/src/api/histories.ts index fc70d5817ba..fcd1d0c1c1f 100644 --- a/client/src/api/histories.ts +++ b/client/src/api/histories.ts @@ -8,4 +8,7 @@ export const undeleteHistory = fetcher.path("/api/histories/deleted/{history_id} export const undeleteHistories = fetcher.path("/api/histories/batch/undelete").method("put").create(); export const publishedHistoriesFetcher = fetcher.path("/api/histories/published").method("get").create(); export const historyFetcher = fetcher.path("/api/histories/{history_id}").method("get").create(); -export const putHistories = fetcher.path("/api/histories/{history_id}/contents/bulk").method("put").create(); +export const updateHistoryItemsInBulk = fetcher + .path("/api/histories/{history_id}/contents/bulk") + .method("put") + .create(); diff --git a/client/src/components/Collections/common/CollectionEditView.vue b/client/src/components/Collections/common/CollectionEditView.vue index f04abfca8aa..e7465737b73 100644 --- a/client/src/components/Collections/common/CollectionEditView.vue +++ b/client/src/components/Collections/common/CollectionEditView.vue @@ -3,7 +3,7 @@ import { library } from "@fortawesome/fontawesome-svg-core"; import { faBars, faCog, faDatabase, faTable, faUser } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import axios from "axios"; -import { BAlert, BTab, BTabs } from "bootstrap-vue"; +import { BAlert, BSpinner, BTab, BTabs } from "bootstrap-vue"; import { storeToRefs } from "pinia"; import { computed, ref } from "vue"; @@ -147,7 +147,9 @@ function handleError(err: any) { -
+
+ +