Skip to content

Commit 737a8fb

Browse files
fix: hide Close button until credentials are copied
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 688ba00 commit 737a8fb

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

frontend/src/app/components/connections-list/hosted-database-success-dialog/hosted-database-success-dialog.component.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ <h1 mat-dialog-title>
7171
</mat-dialog-content>
7272

7373
<mat-dialog-actions align="end" class="hosted-dialog__actions">
74-
<button type="button" mat-stroked-button mat-dialog-close>
75-
Close
76-
</button>
74+
@if (copied) {
75+
<button type="button" mat-stroked-button mat-dialog-close>
76+
Close
77+
</button>
78+
}
7779
<button
7880
type="button"
7981
mat-flat-button

0 commit comments

Comments
 (0)