Skip to content

Commit

Permalink
Bug fix for multi-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
hiveer committed Sep 26, 2024
1 parent 4beb8b8 commit 26c777f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/new_admin/sync/AdminSyncSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<h3 class="mb-5">{{ $t('admin.syncSetting.queues') }}</h3>

<el-table
v-if="queues.length > 0"
:data="queues"
style="width: 100%"
>
Expand Down Expand Up @@ -117,7 +118,7 @@
}
const createSyncSetting = async () => {
const createEndpoint = '/sync/client_settings'
const createEndpoint = '/sync/client_setting'
const {data, error} = await useFetchApi(createEndpoint, {
method: 'POST',
headers: {
Expand All @@ -133,7 +134,7 @@
}
const fetchSyncSettings = async () => {
const settingsEndpoint = '/sync/client_settings'
const settingsEndpoint = '/sync/client_setting'
const {data, _} = await useFetchApi(settingsEndpoint, {
method: 'GET',
headers: {
Expand Down

0 comments on commit 26c777f

Please sign in to comment.