File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
backend/internal/features/databases
frontend/src/features/settings/ui Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ func (d *Database) HideSensitiveData() {
6767func (d * Database ) Update (incoming * Database ) {
6868 d .Name = incoming .Name
6969 d .Type = incoming .Type
70+ d .Notifiers = incoming .Notifiers
7071
7172 switch d .Type {
7273 case DatabaseTypePostgres :
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ export function SettingsComponent({ contentHeight }: Props) {
212212 < div className = "mt-3 text-sm text-gray-500" >
213213 Read more about settings you can{ ' ' }
214214 < a
215- href = "https://postgresus.com/settings"
215+ href = "https://postgresus.com/access-management/#global- settings"
216216 target = "_blank"
217217 rel = "noreferrer"
218218 className = "!text-blue-600"
@@ -230,23 +230,18 @@ export function SettingsComponent({ contentHeight }: Props) {
230230 < code
231231 className = "flex-1 cursor-pointer transition-colors select-all hover:text-blue-600"
232232 onClick = { ( ) => {
233- window . open (
234- `${ getApplicationServer ( ) } /api/v1/downdetect/is-available` ,
235- '_blank' ,
236- ) ;
233+ window . open ( `${ getApplicationServer ( ) } /api/v1/system/health` , '_blank' ) ;
237234 } }
238235 title = "Click to open in new tab"
239236 >
240- { getApplicationServer ( ) } /api/v1/downdetect/is-available
237+ { getApplicationServer ( ) } /api/v1/system/health
241238 </ code >
242239 < Button
243240 type = "text"
244241 size = "small"
245242 className = "ml-2 opacity-0 transition-opacity group-hover:opacity-100"
246243 onClick = { ( ) => {
247- navigator . clipboard . writeText (
248- `${ getApplicationServer ( ) } /api/v1/downdetect/is-available` ,
249- ) ;
244+ navigator . clipboard . writeText ( `${ getApplicationServer ( ) } /api/v1/system/health` ) ;
250245 message . success ( 'Health-check endpoint copied to clipboard' ) ;
251246 } }
252247 >
You can’t perform that action at this time.
0 commit comments