Skip to content

Commit f7283c4

Browse files
feat(connections): restore "Create hosted PostgreSQL" in Add menu
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0fd0a0a commit f7283c4

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

frontend/src/app/components/connections-list/own-connections/own-connections.component.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,23 @@ <h2 class="connectionInfo__connectionTitle">{{ $any(connectionItem).displayTitle
163163
</div>
164164
</div>
165165
</a>
166+
} @else {
167+
<button
168+
mat-menu-item
169+
type="button"
170+
data-testid="create-hosted-database-fab-button"
171+
[disabled]="creatingHostedDatabase()"
172+
(click)="createHostedDatabase()">
173+
<div class="addConnectionItem">
174+
<div class="addConnectionItem__iconBox addConnectionItem__iconBox--accent">
175+
<mat-icon>cloud_queue</mat-icon>
176+
</div>
177+
<div class="addConnectionItem__text">
178+
<span class="addConnectionItem__title">Create hosted PostgreSQL</span>
179+
<span class="addConnectionItem__subtitle">Managed database, ready in one click</span>
180+
</div>
181+
</div>
182+
</button>
166183
}
167184
</mat-menu>
168185
} @else {

0 commit comments

Comments
 (0)