Skip to content

Commit 73df001

Browse files
committed
fix: change scope parameter from 'WORKSPACE' to 'SHARED' in getList function
1 parent 72d9833 commit 73df001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/views/shared/tool-shared/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ function openCreateDialog(data?: any) {
267267
268268
function getList() {
269269
const params = {
270-
folder_id: currentFolder.value?.id || 'root',
271-
scope: 'WORKSPACE',
270+
folder_id: currentFolder.value?.id || 'default',
271+
scope: 'SHARED',
272272
}
273273
ToolApi.getToolListPage(paginationConfig, params, loading).then((res) => {
274274
paginationConfig.total = res.data?.total
@@ -421,7 +421,7 @@ function configInitParams(item: any) {
421421
// }
422422
423423
onMounted(() => {
424-
getFolder()
424+
getList()
425425
})
426426
</script>
427427

0 commit comments

Comments
 (0)