test: 补齐模板回滚授权与成功测试
This commit is contained in:
1 parent
4191ba8df5
commit
84a21b0012
3 files changed
+22
-2
No files matched your search
@@ -172,7 +172,7 @@ export function WorkspacePage() {
|
||||
)}
|
||||
{templatePreview.data?.canRollback && (
|
||||
<Button danger onClick={() => rollback.mutate()} loading={rollback.isPending}>
|
||||
回滚到上一版本
|
||||
恢复上一版配置基线
|
||||
</Button>
|
||||
)}
|
||||
<MutationError error={templatePreview.error} />
|
||||
|
||||
Reference in new issue
Block a user