Skip to content

Commit e6e6f1a

Browse files
committed
fix: support view history only in orm store for now
1 parent 95adf09 commit e6e6f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/atest-ui/src/views/TestCase.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ Magic.Keys(() => {
832832
<el-button type="danger" @click="deleteCase" :icon="Delete">{{ t('button.delete') }}</el-button>
833833
<el-button type="primary" @click="openDuplicateTestCaseDialog" :icon="CopyDocument" v-if="!isHistoryTestCase">{{ t('button.duplicate') }}</el-button>
834834
<el-button type="primary" @click="openCodeDialog">{{ t('button.generateCode') }}</el-button>
835-
<el-button type="primary" v-if="!isHistoryTestCase" @click="openHistoryDialog">{{ t('button.viewHistory') }}</el-button>
835+
<el-button type="primary" v-if="!isHistoryTestCase && Cache.GetCurrentStore().kind.name == 'atest-store-orm'" @click="openHistoryDialog">{{ t('button.viewHistory') }}</el-button>
836836
<span v-if="isHistoryTestCase" style="margin-left: 15px;">{{ t('tip.runningAt') }}{{ HistoryTestCaseCreateTime }}</span>
837837
</div>
838838
<div style="display: flex;">

0 commit comments

Comments
 (0)