We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d9833 commit 73df001Copy full SHA for 73df001
ui/src/views/shared/tool-shared/index.vue
@@ -267,8 +267,8 @@ function openCreateDialog(data?: any) {
267
268
function getList() {
269
const params = {
270
- folder_id: currentFolder.value?.id || 'root',
271
- scope: 'WORKSPACE',
+ folder_id: currentFolder.value?.id || 'default',
+ scope: 'SHARED',
272
}
273
ToolApi.getToolListPage(paginationConfig, params, loading).then((res) => {
274
paginationConfig.total = res.data?.total
@@ -421,7 +421,7 @@ function configInitParams(item: any) {
421
// }
422
423
onMounted(() => {
424
- getFolder()
+ getList()
425
})
426
</script>
427
0 commit comments