Skip to content

Commit 1b92cdf

Browse files
Merge branch 'main' into feat/lock-config-release
2 parents db6464e + 2797d2a commit 1b92cdf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/app/create/CreateApp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class AddNewApp extends Component<AddNewAppProps, AddNewAppState> {
4040
constructor(props) {
4141
super(props)
4242
this.state = {
43-
view: ViewType.FORM,
43+
view: ViewType.LOADING,
4444
code: 0,
4545
projects: [],
4646
disableForm: false,
@@ -72,6 +72,7 @@ export class AddNewApp extends Component<AddNewAppProps, AddNewAppState> {
7272
}
7373

7474
async componentDidMount() {
75+
this.setState({ view: ViewType.LOADING })
7576
try {
7677
const { result } = await getTeamListMin()
7778
sortObjectArrayAlphabetically(result, 'name')

src/components/deploymentConfig/DeploymentTemplateView/DeploymentConfigFormCTA.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default function DeploymentConfigFormCTA({
106106
? 'base-deployment-template-save-and-next-button'
107107
: 'base-deployment-template-save-changes-button'
108108
}`}
109-
disabled={state.unableToParseYaml || (!isValues && !isApprovalPending) || convertVariables}
109+
disabled={loading || state.unableToParseYaml || (!isValues && !isApprovalPending) || convertVariables}
110110
>
111111
{loading ? (
112112
<Progressing />

0 commit comments

Comments
 (0)