Skip to content

Commit 71e1aaf

Browse files
authored
fix: support view history only in orm store for now (#534)
1 parent 95adf09 commit 71e1aaf

File tree

5 files changed

+338
-337
lines changed

5 files changed

+338
-337
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)