File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
client/src/app/components/dialogs/deploy-confirmation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 75
75
< br />
76
76
}
77
77
78
- <!-- Repository confirmation -->
79
- @if (environment().repository?.nameWithOwner) {
78
+ <!-- ONLY show ' Repository confirmation' block if type !== 'TEST' -->
79
+ @if (environment().type !== 'TEST' && environment(). repository?.nameWithOwner) {
80
80
< div class ="mt-4 text-sm space-y-1 ">
81
81
< p >
82
82
To confirm, type < code class ="font-semibold "> {{ environment().repository?.nameWithOwner }}</ code > below
103
103
type ="button "
104
104
label ="Deploy "
105
105
class ="ml-2 "
106
- [disabled] ="query.isPending() || (environment().repository?.nameWithOwner && repoConfirm !== environment().repository?.nameWithOwner) "
106
+ [disabled] ="query.isPending() || (environment().type !== 'TEST' && environment(). repository?.nameWithOwner && repoConfirm !== environment().repository?.nameWithOwner) "
107
107
(click) ="onDeploy() "
108
108
> </ button >
109
109
</ div >
You can’t perform that action at this time.
0 commit comments