refactor(stacks): migrate item view to react [BE-6629] (#1444)

This commit is contained in:
Chaim Lev-Ari
2025-12-11 10:21:43 +02:00
committed by GitHub
parent 4bb160b281
commit 6d0a09402b
62 changed files with 1041 additions and 899 deletions
@@ -169,7 +169,7 @@ describe('StackRedeployGitForm', () => {
beforeEach(() => {
vi.clearAllMocks();
mockConfirmStackUpdate.mockResolvedValue({ pullImage: false });
mockConfirmStackUpdate.mockResolvedValue({ repullImageAndRedeploy: false });
mockConfirmEnableTLSVerify.mockResolvedValue(true);
mockBaseStackWebhookUrl.mockReturnValue(
'http://localhost:9000/api/webhooks'
@@ -119,7 +119,7 @@ export function StackRedeployGitForm({ stack }: { stack: Stack }) {
}
const payload: GitStackPayload = {
PullImage: result.pullImage,
RepullImageAndRedeploy: result.repullImageAndRedeploy,
env: values.env,
RepositoryReferenceName: values.refName,
RepositoryAuthentication: values.auth.RepositoryAuthentication,