Skip to content

Commit 51b5a48

Browse files
committed
fix: Workspace share knowledge hit test button visilibity
1 parent 5cb0b30 commit 51b5a48

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/src/views/hit-test/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@
9595
<div class="hit-test__operate">
9696
<el-popover :visible="popoverVisible" placement="right-end" :width="500" trigger="click">
9797
<template #reference>
98-
<el-button icon="Setting" class="mb-8" @click="settingChange('open')">{{
98+
<el-button icon="Setting" class="mb-8" @click="settingChange('open')"
99+
v-if="! route.path.includes('share/')"
100+
>{{
99101
$t('common.paramSetting')
100102
}}</el-button>
101103
</template>
@@ -189,7 +191,6 @@
189191
<div class="text-right">
190192
<el-button @click="popoverVisible = false">{{ $t('common.cancel') }}</el-button>
191193
<el-button type="primary" @click="settingChange('close')"
192-
v-if="! route.path.includes('share/')"
193194
>{{
194195
$t('common.confirm')
195196
}}</el-button>

0 commit comments

Comments
 (0)