Skip to content

Commit

Permalink
fix: support view history only in orm store for now (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamYSF authored Sep 20, 2024
1 parent 95adf09 commit 71e1aaf
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 337 deletions.
2 changes: 1 addition & 1 deletion console/atest-ui/src/views/TestCase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ Magic.Keys(() => {
<el-button type="danger" @click="deleteCase" :icon="Delete">{{ t('button.delete') }}</el-button>
<el-button type="primary" @click="openDuplicateTestCaseDialog" :icon="CopyDocument" v-if="!isHistoryTestCase">{{ t('button.duplicate') }}</el-button>
<el-button type="primary" @click="openCodeDialog">{{ t('button.generateCode') }}</el-button>
<el-button type="primary" v-if="!isHistoryTestCase" @click="openHistoryDialog">{{ t('button.viewHistory') }}</el-button>
<el-button type="primary" v-if="!isHistoryTestCase && Cache.GetCurrentStore().kind.name == 'atest-store-orm'" @click="openHistoryDialog">{{ t('button.viewHistory') }}</el-button>
<span v-if="isHistoryTestCase" style="margin-left: 15px;">{{ t('tip.runningAt') }}{{ HistoryTestCaseCreateTime }}</span>
</div>
<div style="display: flex;">
Expand Down
Loading

0 comments on commit 71e1aaf

Please sign in to comment.