Skip to content

Commit 4df822a

Browse files
committed
fix: Dependency resource list can not search by name or creator
1 parent fb05cad commit 4df822a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/components/resource_mapping/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464
:placeholder="$t('common.search')"
6565
style="width: 220px"
6666
clearable
67-
@keyup.enter="pageResourceMapping()"
67+
@keyup.enter="currentTab === 'dependency' ? pageMappingResource() : pageResourceMapping()"
6868
/>
6969
<el-input
7070
v-if="searchType === 'user_name'"
7171
v-model="query.user_name"
7272
:placeholder="$t('common.search')"
7373
style="width: 220px"
7474
clearable
75-
@keyup.enter="pageResourceMapping()"
75+
@keyup.enter="currentTab === 'dependency' ? pageMappingResource() : pageResourceMapping()"
7676
/>
7777
<el-select
7878
v-else-if="searchType === 'source_type'"

0 commit comments

Comments
 (0)