File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
apps/studio/components/interfaces/Settings/Infrastructure Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,9 @@ const InfrastructureInfo = () => {
6565 const currentPgVersion = ( current_app_version ?? '' )
6666 . split ( 'supabase-postgres-' ) [ 1 ]
6767 ?. replace ( '-orioledb' , '' )
68- const isOnNonGenerallyAvailableReleaseChannel =
69- current_app_version_release_channel && current_app_version_release_channel !== 'ga'
68+ const isVisibleReleaseChannel =
69+ current_app_version_release_channel &&
70+ ! [ 'ga' , 'withdrawn' ] . includes ( current_app_version_release_channel )
7071 ? current_app_version_release_channel
7172 : undefined
7273 const isOrioleDb = useIsOrioleDb ( )
@@ -144,16 +145,16 @@ const InfrastructureInfo = () => {
144145 value = { currentPgVersion || serviceVersions ?. [ 'supabase-postgres' ] || '' }
145146 label = "Postgres version"
146147 actions = { [
147- isOnNonGenerallyAvailableReleaseChannel && (
148+ isVisibleReleaseChannel && (
148149 < Tooltip >
149150 < TooltipTrigger >
150151 < Badge variant = "warning" className = "mr-1 capitalize" >
151- { isOnNonGenerallyAvailableReleaseChannel }
152+ { isVisibleReleaseChannel }
152153 </ Badge >
153154 </ TooltipTrigger >
154155 < TooltipContent side = "bottom" className = "w-44 text-center" >
155- This project uses a { isOnNonGenerallyAvailableReleaseChannel } { ' ' }
156- database version release
156+ This project uses a { isVisibleReleaseChannel } database version
157+ release
157158 </ TooltipContent >
158159 </ Tooltip >
159160 ) ,
You can’t perform that action at this time.
0 commit comments